From: Christopher Jones Date: Mon, 9 Mar 2009 21:20:02 +0000 (+0000) Subject: MFH: New test for oci_fetch_all X-Git-Tag: RELEASE_1_3_5~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dc46cc345e202cff6ed9be5fcffcd79224b96d9;p=php MFH: New test for oci_fetch_all --- diff --git a/ext/oci8/tests/bug47189.phpt b/ext/oci8/tests/bug47189.phpt new file mode 100644 index 0000000000..073b410fcd --- /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) { + ["DUMMY"]=> + string(1) "X" + } +} +array(0) { +} +array(1) { + [0]=> + array(1) { + ["DUMMY"]=> + string(1) "X" + } +} + +Warning: oci_fetch_all(): ORA-01002: %s in %s on line %d +array(0) { +} +===DONE===