Home
last modified time | relevance | path

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

12

/php-src/ext/mysqli/tests/
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 Dmysqli_result_invalid_mode.phpt28 …::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT
29 …::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or 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_class_mysqli_result_interface.phpt104 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT)));
126 new mysqli_result($link, MYSQLI_USE_RESULT);
128 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
169 …::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT
H A Dmysqli_data_seek.phpt40 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
67 mysqli_data_seek() cannot be used in MYSQLI_USE_RESULT mode
H A Dgh9590.phpt39 var_dump(mysqli_query($mysqli1, "SELECT SLEEP(0.10)", MYSQLI_ASYNC | MYSQLI_USE_RESULT));
40 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.phpt54 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) {
81 mysqli_num_rows() cannot be used in MYSQLI_USE_RESULT mode
H A Dmysqli_data_seek_oo.phpt53 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_reap_async_query_error.phpt16 $link->query(')', MYSQLI_ASYNC | MYSQLI_USE_RESULT);
H A Dmysqli_query_iterators.phpt36 … if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT)))
150 Warning: Data fetched with MYSQLI_USE_RESULT can be iterated only once in %s on line %d
H A Dmysqli_get_client_stats_skipped.phpt27 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT))
H A Dmysqli_use_result.phpt57 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.phpt12 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_query.phpt78 … if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT)))
127 mysqli_query(): Argument #3 ($result_mode) must be either MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT%S
H A Dmysqli_reap_async_query.phpt63 $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.phpt66 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_prepare.phpt16 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
H A Dmysqli_stmt_get_result2.phpt121 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, $query, MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
H A Dbug79375.phpt82 $res = $mysqli->query($query, MYSQLI_USE_RESULT);
/php-src/ext/mysqli/
H A Dmysqli_priv.h89 #define MYSQLI_USE_RESULT 1 macro
H A Dmysqli_nonapi.c578 if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT &&
616 case MYSQLI_USE_RESULT:
839 case MYSQLI_USE_RESULT:

Completed in 37 milliseconds

12