summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-12-04 17:55:46 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-12-04 17:55:46 +0000
commit8e907392b3dbd3eef600aa590781aae295902f1a (patch)
tree305a9a6dd4d750dfe9e2d45bf560843b25a25b96
parent459564e2d248307c0eb53b88f182aff18a274e9b (diff)
downloadphp-git-8e907392b3dbd3eef600aa590781aae295902f1a.tar.gz
Fixed test (user is a reserved keyword in pgsql)
-rw-r--r--ext/pdo/tests/bug_39656.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/tests/bug_39656.phpt b/ext/pdo/tests/bug_39656.phpt
index 00ae1feead..4f644ac45d 100644
--- a/ext/pdo/tests/bug_39656.phpt
+++ b/ext/pdo/tests/bug_39656.phpt
@@ -17,8 +17,8 @@ $db = PDOTest::factory();
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
-$db->exec("CREATE TABLE testtable (id INTEGER NOT NULL PRIMARY KEY, user VARCHAR( 256 ) NOT NULL)");
-$db->exec("INSERT INTO testtable (id, user) VALUES (1, 'user')");
+$db->exec("CREATE TABLE testtable (id INTEGER NOT NULL PRIMARY KEY, usr VARCHAR( 256 ) NOT NULL)");
+$db->exec("INSERT INTO testtable (id, usr) VALUES (1, 'user')");
$stmt = $db->prepare("SELECT * FROM testtable WHERE id = ?");
$stmt->bindValue(1, 1, PDO::PARAM_INT );