From d334d319f0e86eb9c0fe35b7b9922637f4fbfe6a Mon Sep 17 00:00:00 2001 From: Adam Baratz Date: Wed, 21 Sep 2016 16:21:33 -0400 Subject: 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. --- ext/pdo_dblib/tests/bug_45876.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pdo_dblib') 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; -- cgit v1.2.1