File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ PDOTest::skip();
12
12
$ db = PDOTest::factory ();
13
13
try {
14
14
$ db ->beginTransaction ();
15
+ $ db ->rollback ();
15
16
} catch (PDOException $ e ) {
16
17
die ('skip no working transactions: ' . $ e ->getMessage ());
17
18
}
@@ -65,7 +66,6 @@ echo countRows('delete');
65
66
$ db ->commit ();
66
67
67
68
echo countRows ('commit ' );
68
-
69
69
?>
70
70
--CLEAN--
71
71
<?php
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ echo "done\n";
34
34
?>
35
35
--CLEAN--
36
36
<?php
37
- require_once getenv ('REDIR_TEST_DIR ' ) . 'pdo_test.inc ' ;
38
37
require ("testdb.inc " );
38
+ $ dbh ->setAttribute (PDO ::ATTR_ERRMODE , PDO ::ERRMODE_WARNING );
39
39
@$ dbh ->exec ('DROP TABLE test_ddl ' );
40
40
@$ dbh ->exec ('DROP GENERATOR gen_test_ddl_id ' );
41
41
@$ dbh ->exec ('DROP TRIGGER test_ddl_bi ' );
You can’t perform that action at this time.
0 commit comments