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 c636db5204..0c9d6ac00b 100644
--- a/ext/pdo/tests/bug_65946.phpt
+++ b/ext/pdo/tests/bug_65946.phpt
@@ -22,6 +22,9 @@ switch ($db->getAttribute(PDO::ATTR_DRIVER_NAME)) {
// this is a bug, to be addressed separately from adding these tests to pdo_dblib
$sql = 'SELECT TOP 1 * FROM test';
break;
+ case 'odbc':
+ $sql = 'SELECT TOP (:limit) * FROM test';
+ break;
case 'firebird':
$sql = 'SELECT FIRST :limit * FROM test';
break;