From d9bca66417f3ca4fd469fd759f45a202ad7d5740 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Mon, 9 Mar 2009 21:19:18 +0000 Subject: [PATCH] New test for oci_fetch_all --- ext/oci8/tests/bug47189.phpt | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 ext/oci8/tests/bug47189.phpt diff --git a/ext/oci8/tests/bug47189.phpt b/ext/oci8/tests/bug47189.phpt new file mode 100644 index 0000000000..b8623ade06 --- /dev/null +++ b/ext/oci8/tests/bug47189.phpt @@ -0,0 +1,48 @@ +--TEST-- +Bug #47189 (Multiple oci_fetch_all calls) +--SKIPIF-- + +--FILE-- + +===DONE=== + +--EXPECTF-- +array(1) { + [0]=> + array(1) { + [u"DUMMY"]=> + unicode(1) "X" + } +} +array(0) { +} +array(1) { + [0]=> + array(1) { + [u"DUMMY"]=> + unicode(1) "X" + } +} + +Warning: oci_fetch_all(): ORA-01002: %s in %s on line %d +array(0) { +} +===DONE=== -- 2.50.1