Lines Matching refs:link
14 $link = NULL;
19 if (!is_null($tmp = @mysqli_kill($link)))
25 if (!is_bool($tmp = mysqli_kill($link, null)))
28 if (!$thread_id = mysqli_thread_id($link))
29 printf("[004] Cannot determine thread id, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
31 $tmp = mysqli_kill($link, $thread_id);
35 if ($res = mysqli_query($link, "SELECT id FROM test LIMIT 1"))
38 var_dump($error = mysqli_error($link));
42 var_dump($link);
44 if ($link->info != 'Records: 6 Duplicates: 0 Warnings: 0') {
47 if ($link->stat != NULL) {
51 if ($link->info != NULL) {
56 mysqli_close($link);
58 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
61 mysqli_kill($link, -1);
62 if ((!$res = mysqli_query($link, "SELECT id FROM test LIMIT 1")) ||
64 …printf("[011] Connection should not be gone, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
68 mysqli_close($link);
70 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
73 …mysqli_change_user($link, "This might work if you accept anonymous users in your setup", "password…
75 mysqli_close($link);