summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-01-02 11:39:36 +0100
committerAnatol Belski <ab@php.net>2018-01-02 11:39:36 +0100
commit53b79dfe09ce9cba3d50a460a79e47b1d1843c50 (patch)
treec17cff3c5d976d80aa39694a2722c040ca1dbbb8
parent77298dee2ea85fa8e3ddd3ef984e0748d3737c6e (diff)
parent08d06f7d4f1834a505f329ef3464c44431462ff8 (diff)
downloadphp-git-53b79dfe09ce9cba3d50a460a79e47b1d1843c50.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fix test for pdo_odbc
-rw-r--r--ext/pdo/tests/bug_65946.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo/tests/bug_65946.phpt b/ext/pdo/tests/bug_65946.phpt
index 76a4e8db89..9318428910 100644
--- a/ext/pdo/tests/bug_65946.phpt
+++ b/ext/pdo/tests/bug_65946.phpt
@@ -20,6 +20,9 @@ switch ($db->getAttribute(PDO::ATTR_DRIVER_NAME)) {
case 'dblib':
$sql = 'SELECT TOP :limit * FROM test';
break;
+ case 'odbc':
+ $sql = 'SELECT TOP (:limit) * FROM test';
+ break;
case 'firebird':
$sql = 'SELECT FIRST :limit * FROM test';
break;