/php-src/ext/mysqli/tests/ |
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 | mysqli_result_invalid_mode.phpt | 28 …::__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 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_class_mysqli_result_interface.phpt | 104 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 D | mysqli_data_seek.phpt | 40 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 D | gh9590.phpt | 39 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 D | bug64726.phpt | 15 $result = $db->query('SELECT 1', MYSQLI_USE_RESULT);
|
H A D | mysqli_num_rows.phpt | 54 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 D | mysqli_data_seek_oo.phpt | 53 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_reap_async_query_error.phpt | 16 $link->query(')', MYSQLI_ASYNC | MYSQLI_USE_RESULT);
|
H A D | mysqli_query_iterators.phpt | 36 … 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 D | mysqli_get_client_stats_skipped.phpt | 27 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT))
|
H A D | mysqli_use_result.phpt | 57 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 | 12 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_query.phpt | 78 … 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 D | mysqli_reap_async_query.phpt | 63 $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 | 66 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
|
H A D | mysqli_prepare.phpt | 16 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
|
H A D | mysqli_stmt_get_result2.phpt | 121 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, $query, MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
|
H A D | bug79375.phpt | 82 $res = $mysqli->query($query, MYSQLI_USE_RESULT);
|
/php-src/ext/mysqli/ |
H A D | mysqli_priv.h | 89 #define MYSQLI_USE_RESULT 1 macro
|
H A D | mysqli_nonapi.c | 578 if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && 616 case MYSQLI_USE_RESULT: 839 case MYSQLI_USE_RESULT:
|