]> granicus.if.org Git - php/commitdiff
limit size of result set so unit test runs reliably
authorAdam Baratz <adam.baratz@gmail.com>
Tue, 1 Mar 2016 22:15:07 +0000 (17:15 -0500)
committerAdam Baratz <adam.baratz@gmail.com>
Tue, 1 Mar 2016 22:15:36 +0000 (17:15 -0500)
ext/pdo_dblib/tests/bug_69757.phpt

index 6c4aee0b6db567bc2010c59de0a99ab1b20861b5..611f41bec1e0c15df661e5cbe848dcad5f904d3f 100644 (file)
@@ -11,8 +11,8 @@ require __DIR__ . '/config.inc';
 
 $sql = "
     exec dbo.sp_executesql N'
-        SELECT * FROM sysobjects
-        SELECT * FROM syscolumns
+        SELECT TOP 1 * FROM sysobjects
+        SELECT TOP 1 * FROM syscolumns
     '
 ";
 $stmt = $db->query($sql);