Annotation of embedaddon/php/ext/oci8/tests/b47243_3.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #47243 (Crash on exit with ZTS mode)
! 3: --SKIPIF--
! 4: <?php
! 5: $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
! 6: require(dirname(__FILE__).'/skipif.inc');
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10:
! 11: require(dirname(__FILE__).'/connect.inc');
! 12:
! 13: // Run Test
! 14:
! 15: $s = oci_parse($c, "select cursor(select dummy from dual) from dual");
! 16: oci_execute($s);
! 17: oci_fetch_all($s, $r);
! 18:
! 19: // With explicit free and close
! 20: oci_free_statement($s);
! 21: oci_close($c);
! 22:
! 23: ?>
! 24: ===DONE===
! 25: <?php exit(0); ?>
! 26: --EXPECTF--
! 27: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>