diff --git a/ext/oci8/tests/bug6109.phpt b/ext/oci8/tests/bug6109.phpt new file mode 100644 index 00000000000..029c5dddb89 --- /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