com php-src: limit size of result set so unit test runs reliably: ext/pdo_dblib/tests/bug_69757.phpt
| From: | Xinchen Hui | Date: | Tue, 01 Mar 2016 22:15:36 +0000 |
| Subject: | com php-src: limit size of result set so unit test runs reliably: ext/pdo_dblib/tests/bug_69757.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-91226@lists.php.net to get a copy of this message | ||
Commit: 2e18d438b0742a9f29c676aa07359473f6683291
Author: Adam Baratz <adam.baratz@gmail.com> Tue, 1 Mar 2016 17:15:07 -0500
Parents: 50b4cafd286eb9d96d71df04e8dc46d321d420b5
Branches: PHP-5.6 PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2e18d438b0742a9f29c676aa07359473f6683291
Log:
limit size of result set so unit test runs reliably
Changed paths:
M ext/pdo_dblib/tests/bug_69757.phpt
Diff:
diff --git a/ext/pdo_dblib/tests/bug_69757.phpt b/ext/pdo_dblib/tests/bug_69757.phpt
index 6c4aee0..611f41b 100644
--- a/ext/pdo_dblib/tests/bug_69757.phpt
+++ b/ext/pdo_dblib/tests/bug_69757.phpt
@@ -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);