php-src/ext/mysqli/tests/050.phpt

22 lines
409 B
Plaintext
Raw Normal View History

2003-02-17 23:29:58 +00:00
--TEST--
non freed statement test
2004-12-04 08:50:33 +00:00
--SKIPIF--
<?php require_once('skipif.inc'); ?>
2003-02-17 23:29:58 +00:00
--FILE--
<?php
include "connect.inc";
2003-02-17 23:29:58 +00:00
/************************
* non freed stamement
************************/
$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket);
2003-02-17 23:29:58 +00:00
$stmt = mysqli_prepare($link, "SELECT CURRENT_USER()");
mysqli_execute($stmt);
mysqli_close($link);
printf("Ok\n");
?>
--EXPECT--
Ok