Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_poll_reference.phpt36 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 Dmysqli_mysqli_result_invalid_mode.phpt14 $valid = array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT);
H A Dbug64726.phpt17 $result = $db->query('SELECT 1', MYSQLI_USE_RESULT);
H A Dmysqli_query_iterators.phpt35 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 Dmysqli_query.phpt27 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 Dmysqli_class_mysqli_result_interface.phpt104 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 Dmysqli_get_client_stats_skipped.phpt30 if (!$res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT))
H A Dmysqli_poll_kill.phpt28 …= 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 Dmysqli_field_tell.phpt23 if (!$res = mysqli_query($link, "SELECT id FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_num_rows.phpt61 if ($res = mysqli_query($link, 'SELECT id FROM test', MYSQLI_USE_RESULT)) {
H A Dmysqli_data_seek.phpt51 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
H A Dmysqli_reap_async_query.phpt81 $link->query("SELECT 2 AS _two", MYSQLI_ASYNC | MYSQLI_USE_RESULT);
H A Dmysqli_data_seek_oo.phpt60 if (!$res = $mysqli->query('SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
H A Dmysqli_query_unicode.phpt33 if (NULL !== ($tmp = @mysqli_query($link, "SELECT 1 AS колона", MYSQLI_USE_RESULT, "foo")))
H A Dmysqli_real_query.phpt23 if (NULL !== ($tmp = @mysqli_real_query($link, "SELECT 1 AS a", MYSQLI_USE_RESULT, "foo")))
H A Dmysqli_constants.phpt34 "MYSQLI_USE_RESULT" => true,
H A Dmysqli_field_seek.phpt77 …!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESULT)) {
H A Dmysqli_prepare.phpt27 if (!$res = mysqli_query($link, "SELECT id, label FROM test", MYSQLI_USE_RESULT))
H A Dmysqli_report.phpt272 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 Dmysqli_poll_mixing_insert_select.phpt55 if (true !== ($tmp = mysqli_query($link, $queries[$i], MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
H A Dmysqli_stmt_get_result2.phpt137 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
H A Dmysqli_fork.phpt76 …res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 3", MYSQLI_USE_RESULT))
/PHP-7.3/ext/mysqli/
H A Dmysqli_priv.h105 #define MYSQLI_USE_RESULT 1 macro
H A Dmysqli_nonapi.c624 …if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~(MYSQLI_ASYNC | MYSQLI_STO…
626 …if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~MYSQLI_ASYNC) != MYSQLI_ST…
674 case MYSQLI_USE_RESULT:
897 case MYSQLI_USE_RESULT:
H A Dmysqli_prop.c282 ZVAL_LONG(retval, mysqli_result_is_unbuffered(p) ? MYSQLI_USE_RESULT:MYSQLI_STORE_RESULT); in result_type_read()

Completed in 34 milliseconds

12