/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_poll_reference.phpt | 36 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 37 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 67 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 68 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 97 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 98 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 128 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 170 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 171 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT));
|
H A D | mysqli_mysqli_result_invalid_mode.phpt | 14 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
|
H A D | bug64726.phpt | 17 $result = $db->query('SELECT 1', MYSQLI_USE_RESULT);
|
H A D | mysqli_query_iterators.phpt | 35 if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT))) 150 Warning: main(): Data fetched with MYSQLI_USE_RESULT can be iterated only once in %s on line %d
|
H A D | mysqli_query.phpt | 27 if (NULL !== ($tmp = @mysqli_query($link, "SELECT 1 AS a", MYSQLI_USE_RESULT, "foo"))) 89 if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT))) 97 $valid = array(MYSQLI_USE_RESULT, MYSQLI_STORE_RESULT);
|
H A D | mysqli_class_mysqli_result_interface.phpt | 104 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))); 128 if (!is_object($res = new mysqli_result($link, MYSQLI_USE_RESULT))) 134 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
|
H A D | mysqli_get_client_stats_skipped.phpt | 30 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT))
|
H A D | mysqli_poll_kill.phpt | 28 …= mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 84 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 150 …= mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
|
H A D | mysqli_field_tell.phpt | 23 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_data_seek.phpt | 51 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
|
H A D | mysqli_num_rows.phpt | 61 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) {
|
H A D | mysqli_reap_async_query.phpt | 81 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
H A D | mysqli_data_seek_oo.phpt | 60 if (!$res = $mysqli->query('SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
|
H A D | mysqli_query_unicode.phpt | 33 if (NULL !== ($tmp = @mysqli_query($link, "SELECT 1 AS колона", MYSQLI_USE_RESULT, "foo")))
|
H A D | mysqli_real_query.phpt | 23 if (NULL !== ($tmp = @mysqli_real_query($link, "SELECT 1 AS a", MYSQLI_USE_RESULT, "foo")))
|
H A D | mysqli_constants.phpt | 34 "MYSQLI_USE_RESULT" => true,
|
H A D | mysqli_field_seek.phpt | 77 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_prepare.phpt | 27 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
|
H A D | mysqli_report.phpt | 272 if (!mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, 'z')", MYSQLI_USE_RESULT) || 273 !mysqli_query($link, 'DELETE FROM test WHERE id > 50', MYSQLI_USE_RESULT))
|
H A D | mysqli_poll_mixing_insert_select.phpt | 55 if (true !== ($tmp = mysqli_query($link, $queries[$i], MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
|
H A D | mysqli_stmt_get_result2.phpt | 137 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
|
H A D | mysqli_fork.phpt | 76 …res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 3", MYSQLI_USE_RESULT))
|
/PHP-7.2/ext/mysqli/ |
H A D | mysqli_priv.h | 106 #define MYSQLI_USE_RESULT 1 macro
|
H A D | mysqli_nonapi.c | 618 …if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~(MYSQLI_ASYNC | MYSQLI_STO… 620 …if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~MYSQLI_ASYNC) != MYSQLI_ST… 668 case MYSQLI_USE_RESULT: 891 case MYSQLI_USE_RESULT:
|
H A D | mysqli_prop.c | 280 ZVAL_LONG(retval, mysqli_result_is_unbuffered(p) ? MYSQLI_USE_RESULT:MYSQLI_STORE_RESULT); in result_type_read()
|