diff options
Diffstat (limited to 'ext/pdo_mysql/tests/pdo_mysql_commit.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_commit.phpt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_commit.phpt b/ext/pdo_mysql/tests/pdo_mysql_commit.phpt index 056c0e0231..e213f66ea9 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_commit.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_commit.phpt @@ -78,7 +78,13 @@ if (false == MySQLPDOTest::detect_transactional_mysql_engine($db)) $db->errorCode(), implode(' ', $db->errorInfo())); } - $db->exec(sprintf('DROP TABLE IF EXISTS test_commit')); print "done!"; +--CLEAN-- +<?php +require dirname(__FILE__) . '/mysql_pdo_test.inc'; +$db = MySQLPDOTest::factory(); +$db->exec('DROP TABLE IF EXISTS test_commit'); +MySQLPDOTest::dropTestTable($db); +?> --EXPECT-- done!
\ No newline at end of file |