1--TEST--
2not freed resultset (missing mysqli_free_result())
3--EXTENSIONS--
4mysqli
5--SKIPIF--
6<?php
7require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
8mysqli_check_skip_test();
9?>
10--FILE--
11<?php
12require_once dirname(__DIR__) . "/test_setup/test_helpers.inc";
13
14$link = default_mysqli_connect();
15
16$result = mysqli_query($link, "SELECT CURRENT_USER()");
17mysqli_close($link);
18printf("Ok\n");
19
20?>
21--EXPECT--
22Ok
23