Skip to content

Commit 08d06f7

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix test for pdo_odbc
2 parents 4380ba7 + 1a9d097 commit 08d06f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/pdo/tests/bug_65946.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ switch ($db->getAttribute(PDO::ATTR_DRIVER_NAME)) {
2020
case 'dblib':
2121
$sql = 'SELECT TOP :limit * FROM test';
2222
break;
23+
case 'odbc':
24+
$sql = 'SELECT TOP (:limit) * FROM test';
25+
break;
2326
case 'firebird':
2427
$sql = 'SELECT FIRST :limit * FROM test';
2528
break;

0 commit comments

Comments
 (0)