summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;