Skip to content

Commit 3036cfe

Browse files
committed
Another attempt to fix Firebird + debug
1 parent 13760c2 commit 3036cfe

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ mkdir c:\tests_tmp
133133

134134
set TEST_PHP_JUNIT=c:\junit.out.xml
135135

136-
nmake test TESTS="%OPCACHE_OPTS% -g FAIL,BORK,LEAK,XLEAK --no-progress -q --offline --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp --bless %PARALLEL%"
136+
nmake test TESTS="%OPCACHE_OPTS% -g FAIL,BORK,LEAK,XLEAK -q --offline --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp --bless %PARALLEL%"
137137

138138
set EXIT_CODE=%errorlevel%
139139

ext/pdo_firebird/tests/ddl.phpt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LSAN_OPTIONS=detect_leaks=0
1212
require("testdb.inc");
1313

1414
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
15+
@$dbh->exec('DROP TABLE test_ddl');
16+
@$dbh->exec('DROP GENERATOR gen_test_ddl_id');
17+
@$dbh->exec('DROP TRIGGER test_ddl_bi');
1518

1619
$dbh->exec("CREATE TABLE test_ddl (id INT NOT NULL PRIMARY KEY, text BLOB SUB_TYPE 1)");
1720
$dbh->exec("CREATE GENERATOR gen_test_ddl_id");
@@ -29,18 +32,12 @@ $dbh->beginTransaction();
2932
var_dump($dbh->exec("DELETE FROM test_ddl"));
3033
$dbh->commit();
3134

32-
unset($dbh);
33-
echo "done\n";
34-
?>
35-
--CLEAN--
36-
<?php
37-
require("testdb.inc");
38-
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
3935
@$dbh->exec('DROP TABLE test_ddl');
4036
@$dbh->exec('DROP GENERATOR gen_test_ddl_id');
4137
@$dbh->exec('DROP TRIGGER test_ddl_bi');
42-
unset($dbh);
4338

39+
unset($dbh);
40+
echo "done\n";
4441
?>
4542
--EXPECT--
4643
int(1)

0 commit comments

Comments
 (0)