diff options
author | Christopher Jones <sixd@php.net> | 2009-03-09 20:07:39 +0000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2009-03-09 20:07:39 +0000 |
commit | 89a216cd23cb4aa738804b505dead5ccb174707e (patch) | |
tree | 718fce0bc152af773681d6ac34854f2a0e272b5d /ext/oci8/tests/b47243_3.phpt | |
parent | 58acebce20876df259e03d6571e788302fc24356 (diff) | |
download | php-git-89a216cd23cb4aa738804b505dead5ccb174707e.tar.gz |
Bug #47243 (Crash at shutdown on Windows)
Diffstat (limited to 'ext/oci8/tests/b47243_3.phpt')
-rw-r--r-- | ext/oci8/tests/b47243_3.phpt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/oci8/tests/b47243_3.phpt b/ext/oci8/tests/b47243_3.phpt new file mode 100644 index 0000000000..0decb34872 --- /dev/null +++ b/ext/oci8/tests/b47243_3.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #47243 (Crash on exit with ZTS mode) +--SKIPIF-- +<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?> +--FILE-- +<?php + +require(dirname(__FILE__).'/connect.inc'); + +// Run Test + +$s = oci_parse($c, "select cursor(select dummy from dual) from dual"); +oci_execute($s); +oci_fetch_all($s, $r); + +// With explicit free and close +oci_free_statement($s); +oci_close($c); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECTF-- +===DONE=== |