From: Christopher Jones Date: Wed, 12 Mar 2008 17:52:29 +0000 (+0000) Subject: New test for existing behavior X-Git-Tag: RELEASE_2_0_0a1~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32ed6f39de70123239d6c262bf547f240a83f678;p=php New test for existing behavior --- diff --git a/ext/oci8/tests/bug6109.phpt b/ext/oci8/tests/bug6109.phpt new file mode 100644 index 0000000000..029c5dddb8 --- /dev/null +++ b/ext/oci8/tests/bug6109.phpt @@ -0,0 +1,46 @@ +--TEST-- +PECL Bug #6109 (Error messages not kept) +--SKIPIF-- + +--FILE-- + '.$err['message'] ."\n"; + } +} + +// Cleanup + +oci_close($c); + +echo "Done\n"; + +?> +--EXPECTF-- +Test 1 +Once Oracle has popped the message from its stack, the message is +no longer available. +0 -> ORA-00942: %s +1 -> +2 -> +3 -> +4 -> +Done