mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
one more error to fix Table unknown TEST , it should be TESTZ
This commit is contained in:
parent
a2c7c201ab
commit
e2c5167b7b
@ -12,7 +12,7 @@ $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
|
||||
$value = '2';
|
||||
@$dbh->exec('DROP TABLE testz');
|
||||
$dbh->exec('CREATE TABLE testz (idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
|
||||
$dbh->exec('INSERT INTO test VALUES(0, \'String0\')');
|
||||
$dbh->exec('INSERT INTO testz VALUES(0, \'String0\')');
|
||||
$dbh->commit();
|
||||
|
||||
$query = "SELECT idx, txt FROM testz ORDER by idx";
|
||||
|
Loading…
Reference in New Issue
Block a user