/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_result_invalid_mode.phpt | 14 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT); 29 …::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT 30 …::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT
|
H A D | mysqli_poll_reference.phpt | 32 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 33 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 63 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 64 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 93 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 94 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 124 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 166 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 167 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT));
|
H A D | bug55582.phpt | 37 mysqli_num_rows() cannot be used in MYSQLI_USE_RESULT mode 42 mysqli_num_rows() cannot be used in MYSQLI_USE_RESULT mode
|
H A D | mysqli_data_seek.phpt | 42 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT)) 69 mysqli_data_seek() cannot be used in MYSQLI_USE_RESULT mode
|
H A D | gh9590.phpt | 42 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT)); 43 var_dump(mysqli_query($mysqli2, "SELECT SLEEP(0.20)", MYSQLI_ASYNC | MYSQLI_USE_RESULT));
|
H A D | bug64726.phpt | 15 $result = $db->query('SELECT 1', MYSQLI_USE_RESULT);
|
H A D | mysqli_num_rows.phpt | 56 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) { 83 mysqli_num_rows() cannot be used in MYSQLI_USE_RESULT mode
|
H A D | mysqli_reap_async_query_error.phpt | 16 $link->query(')', MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
H A D | mysqli_data_seek_oo.phpt | 54 if (!$res = $mysqli->query('SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT)) 81 mysqli_result::data_seek() cannot be used in MYSQLI_USE_RESULT mode
|
H A D | mysqli_query_iterators.phpt | 40 … if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT))) 154 Warning: main(): Data fetched with MYSQLI_USE_RESULT can be iterated only once in %s on line %d
|
H A D | mysqli_class_mysqli_result_interface.phpt | 105 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))); 127 $res = new mysqli_result($link, MYSQLI_USE_RESULT); 129 $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_use_result.phpt | 59 mysqli_data_seek() cannot be used in MYSQLI_USE_RESULT mode
|
H A D | mysqli_poll_kill.phpt | 24 …= mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 80 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 146 …= mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
|
H A D | mysqli_field_tell.phpt | 14 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_query.phpt | 80 … if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT))) 129 mysqli_query(): Argument #3 ($result_mode) must be either MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT%S
|
H A D | mysqli_reap_async_query.phpt | 67 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
H A D | mysqli_constants.phpt | 27 "MYSQLI_USE_RESULT" => true,
|
H A D | mysqli_field_seek.phpt | 68 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_prepare.phpt | 18 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
|
H A D | mysqli_stmt_get_result2.phpt | 125 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
|
H A D | mysqli_poll_mixing_insert_select.phpt | 51 if (true !== ($tmp = mysqli_query($link, $queries[$i], MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
|
H A D | bug79375.phpt | 83 $res = $mysqli->query($query, MYSQLI_USE_RESULT);
|
/PHP-8.2/ext/mysqli/ |
H A D | mysqli_priv.h | 89 #define MYSQLI_USE_RESULT 1 macro
|
H A D | mysqli_nonapi.c | 580 if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && 618 case MYSQLI_USE_RESULT: 850 case MYSQLI_USE_RESULT:
|