fix table name in testcase

This commit is contained in:
Popa Adrian Marius 2011-12-28 09:59:53 +00:00
parent c058385112
commit bba41172e7

View File

@ -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);