mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
fix table name in testcase
This commit is contained in:
parent
c058385112
commit
bba41172e7
@ -15,7 +15,7 @@ $dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))')
|
||||
$dbh->exec('INSERT INTO test VALUES(0, \'String0\')');
|
||||
$dbh->commit();
|
||||
|
||||
$query = "SELECT idx, txt FROM test ORDER by idx";
|
||||
$query = "SELECT idx, txt FROM testz ORDER by idx";
|
||||
$idx = $txt = 0;
|
||||
$stmt = $dbh->prepare($query);
|
||||
$stmt->bindColumn('idx', $idx);
|
||||
|
Loading…
Reference in New Issue
Block a user