php-src/ext/mysqli/tests/050.phpt
Andrey Hristov b580bc3875 Cleanup in trunk. Remove some functions, noted in
UPGRADING. sed-ed the tests to change the usage
to the real function name.
2010-07-07 12:09:36 +00:00

25 lines
465 B
PHP

--TEST--
non freed statement test
--SKIPIF--
<?php
require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
require_once("connect.inc");
/************************
* non freed stamement
************************/
$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
$stmt = mysqli_prepare($link, "SELECT CURRENT_USER()");
mysqli_stmt_execute($stmt);
mysqli_close($link);
printf("Ok\n");
?>
--EXPECT--
Ok