mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
24 lines
431 B
PHP
24 lines
431 B
PHP
--TEST--
|
|
not freed resultset
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
require_once('skipifconnectfailure.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
require_once("connect.inc");
|
|
|
|
/************************
|
|
* non freed resultset
|
|
************************/
|
|
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
|
|
|
|
$result = mysqli_query($link, "SELECT CURRENT_USER()");
|
|
mysqli_close($link);
|
|
printf("Ok\n");
|
|
|
|
?>
|
|
--EXPECT--
|
|
Ok
|