Lines Matching refs:link
13 if (false !== ($tmp = mysqli_next_result($link)))
16 $res = mysqli_query($link, "SELECT 1 AS res");
17 if (false !== ($tmp = mysqli_next_result($link)))
22 function func_test_mysqli_next_result($link, $query, $offset, $num_results) {
24 if (!mysqli_multi_query($link, $query))
25 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
29 if ($res = mysqli_store_result($link)) {
33 } while (true === mysqli_next_result($link));
39 if (mysqli_more_results($link))
42 if (!($res = mysqli_query($link, "SELECT 1 AS b"))) {
43 printf("[%03d] [%d] %s\n", $offset + 4, mysqli_errno($link), mysqli_error($link));
50 …func_test_mysqli_next_result($link, "SELECT 1 AS a; SELECT 1 AS a, 2 AS b; SELECT id FROM test ORD…
51 …func_test_mysqli_next_result($link, "SELECT 1 AS a; INSERT INTO test(id, label) VALUES (100, 'y');…
52 func_test_mysqli_next_result($link, "DELETE FROM test WHERE id >= 100; SELECT 1 AS a; ", 11, 1);
54 mysqli_close($link);
57 mysqli_next_result($link);