From d78220fb2c2e6bd7c442063fc15343ba8ff0c3a6 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 29 Feb 2016 18:43:03 +0100 Subject: add test for bug #68957 --- ext/pdo_dblib/tests/bug_68957.phpt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ext/pdo_dblib/tests/bug_68957.phpt diff --git a/ext/pdo_dblib/tests/bug_68957.phpt b/ext/pdo_dblib/tests/bug_68957.phpt new file mode 100644 index 0000000000..3d6e2fd13d --- /dev/null +++ b/ext/pdo_dblib/tests/bug_68957.phpt @@ -0,0 +1,29 @@ +--TEST-- +PDO_DBLIB bug #68957 PDO::query doesn't support several queries +--SKIPIF-- + +--FILE-- +query($query); +$stmt->nextRowset(); // Added line +$rows = $stmt->fetchAll(); +print_r($rows); + +?> +--EXPECT-- +Array +( + [0] => Array + ( + [computed0] => 1 + [0] => 1 + ) + +) + -- cgit v1.2.1