From: Adam Baratz Date: Wed, 21 Sep 2016 20:21:33 +0000 (-0400) Subject: Limit size of result set for test query X-Git-Tag: php-7.0.12RC1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d334d319f0e86eb9c0fe35b7b9922637f4fbfe6a;p=php Limit size of result set for test query This result set can be very large, depending on the database. This change ensures this test won't be slow. --- diff --git a/ext/pdo_dblib/tests/bug_45876.phpt b/ext/pdo_dblib/tests/bug_45876.phpt index 9de13ff3fb..2e99e2b94f 100644 --- a/ext/pdo_dblib/tests/bug_45876.phpt +++ b/ext/pdo_dblib/tests/bug_45876.phpt @@ -9,7 +9,7 @@ require dirname(__FILE__) . '/config.inc'; prepare("select ic1.* from information_schema.columns ic1"); +$stmt = $db->prepare("select top 1 ic1.* from information_schema.columns ic1"); $stmt->execute(); var_dump($stmt->getColumnMeta(0)); $stmt = null;