Annotation of embedaddon/php/ext/mysqli/tests/053.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: not freed resultset
! 3: --SKIPIF--
! 4: <?php
! 5: require_once('skipif.inc');
! 6: require_once('skipifconnectfailure.inc');
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: require_once("connect.inc");
! 11:
! 12: /************************
! 13: * non freed resultset
! 14: ************************/
! 15: $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
! 16:
! 17: $result = mysqli_query($link, "SELECT CURRENT_USER()");
! 18: mysqli_close($link);
! 19: printf("Ok\n");
! 20:
! 21: ?>
! 22: --EXPECT--
! 23: Ok
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>