Skip to content

Commit 23cd56b

Browse files
1 parent 0530611 commit 23cd56b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/pdo_mysql/tests/pdo_mysql_prepare_emulated.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ $db = MySQLPDOTest::factory();
200200
printf("[044] Expecting onw row, got %d rows\n", $tmp);
201201

202202
// and now, the same with anonymous placeholders...
203-
prepex(45, $db, 'DROP TABLE IF EXISTS test_prepare_emulated');
204-
prepex(46, $db, sprintf('CREATE TABLE test_prepare_emulated(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
203+
prepex(34, $db, 'DELETE FROM test_prepare_emulated');
205204
prepex(47, $db, "INSERT INTO test_prepare_emulated(id, label) VALUES(1, '?')");
206205
$stmt = prepex(48, $db, 'SELECT label FROM test_prepare_emulated');
207206
var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));

0 commit comments

Comments
 (0)