Home
last modified time | relevance | path

Searched refs:MYSQLI_USE_RESULT (Results 1 – 25 of 32) sorted by relevance

12

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_result_invalid_mode.phpt14 $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 Dmysqli_poll_reference.phpt32 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 Dbug55582.phpt37 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 Dmysqli_data_seek.phpt42 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 Dgh9590.phpt42 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 Dbug64726.phpt15 $result = $db->query('SELECT 1', MYSQLI_USE_RESULT);
H A Dmysqli_num_rows.phpt56 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 Dmysqli_reap_async_query_error.phpt16 $link->query(')', MYSQLI_ASYNC | MYSQLI_USE_RESULT);
H A Dmysqli_data_seek_oo.phpt54 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 Dmysqli_query_iterators.phpt40 … 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 Dmysqli_class_mysqli_result_interface.phpt105 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 Dmysqli_get_client_stats_skipped.phpt30 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT))
H A Dmysqli_use_result.phpt59 mysqli_data_seek() cannot be used in MYSQLI_USE_RESULT mode
H A Dmysqli_poll_kill.phpt24 …= 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 Dmysqli_field_tell.phpt14 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_query.phpt80 … 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 Dmysqli_reap_async_query.phpt67 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
H A Dmysqli_constants.phpt27 "MYSQLI_USE_RESULT" => true,
H A Dmysqli_field_seek.phpt68 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_prepare.phpt18 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
H A Dmysqli_stmt_get_result2.phpt125 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
H A Dmysqli_poll_mixing_insert_select.phpt51 if (true !== ($tmp = mysqli_query($link, $queries[$i], MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
H A Dbug79375.phpt83 $res = $mysqli->query($query, MYSQLI_USE_RESULT);
/PHP-8.2/ext/mysqli/
H A Dmysqli_priv.h89 #define MYSQLI_USE_RESULT 1 macro
H A Dmysqli_nonapi.c580 if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT &&
618 case MYSQLI_USE_RESULT:
850 case MYSQLI_USE_RESULT:

Completed in 19 milliseconds

12