summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-01-03 17:54:46 +0100
committerAnatol Belski <ab@php.net>2017-01-03 17:54:46 +0100
commitb15cc7913a1aa108b3e27c8c361202785bea4033 (patch)
treeb196718319402bc3757bf3da907bcb77f42c50c8 /ext/pdo
parent63d980b3c7fd6fac09f63de9ef19416be8f42d50 (diff)
parente914abff1e88092216e453234224860514d5e5cc (diff)
downloadphp-git-b15cc7913a1aa108b3e27c8c361202785bea4033.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fix PDO tests to match SQL standard syntax and pass Firebird tests.
Diffstat (limited to 'ext/pdo')
-rw-r--r--ext/pdo/tests/pdo_018.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/tests/pdo_018.phpt b/ext/pdo/tests/pdo_018.phpt
index 80e3453287..57430ae20d 100644
--- a/ext/pdo/tests/pdo_018.phpt
+++ b/ext/pdo/tests/pdo_018.phpt
@@ -71,7 +71,7 @@ $db->exec('CREATE TABLE classtypes(id int NOT NULL PRIMARY KEY, name VARCHAR(20)
$db->exec('INSERT INTO classtypes VALUES(0, \'stdClass\')');
$db->exec('INSERT INTO classtypes VALUES(1, \'TestBase\')');
$db->exec('INSERT INTO classtypes VALUES(2, \'TestDerived\')');
-$db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int NULL, val VARCHAR(255) NULL)');
+$db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(255))');
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);