Home
last modified time | relevance | path

Searched refs:num_rows (Results 1 – 25 of 36) sorted by relevance

12

/PHP-8.1/ext/mysqli/tests/
H A Dbug36420.phpt2 Bug #36420 (segfault when access result->num_rows after calling result->close())
19 $result->num_rows;
26 $result->num_rows;
H A Dmysqli_get_client_stats_ps.phpt35 $num_rows = 0;
37 $num_rows++;
48 $stats['rows_fetched_from_client_ps_buffered'] += $num_rows;
65 $num_rows = 0;
67 $num_rows++;
70 $stats['rows_fetched_from_client_ps_unbuffered'] += $num_rows;
H A Dmysqli_explain_metadata.phpt20 $num_rows = 0;
27 $num_rows++;
34 $num_rows++;
36 if (($tmp = mysqli_num_rows($res)) !== $num_rows) {
38 $num_rows, gettype($tmp), $tmp);
75 if (($tmp = mysqli_stmt_num_rows($stmt)) !== $num_rows) {
77 $num_rows, gettype($tmp), $tmp);
109 if (($tmp = mysqli_num_rows($res_stmt)) !== $num_rows) {
111 $num_rows, gettype($tmp), $tmp);
H A Dmysqli_get_client_stats_skipped.phpt23 $num_rows = mysqli_num_rows($res);
24 assert($num_rows > 2);
34 for ($i = 0; $i < $num_rows - 1; $i++)
H A Dmysqli_class_mysqli_result_interface.phpt100 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
101 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n",
102 $mysqli_result->num_rows, gettype($mysqli_result->num_rows),
118 $res->num_rows;
163 num_rows
172 mysqli_result->num_rows = '6'/integer ('6'/integer)
H A Dmysqli_class_mysqli_stmt_interface.phpt35 'num_rows' => true,
121 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows);
122 printf("stmt->num_rows = '%s'\n", $stmt->num_rows);
152 num_rows
170 stmt->num_rows = '0'
H A Dgracefull_fail_on_empty_result_set.phpt40 ["num_rows"]=>
53 ["num_rows"]=>
H A Dmysqli_multi_query.phpt67 $num_rows = 0;
70 $num_rows++;
76 if (1 == $num_rows) {
91 if ($num_rows != 1)
92 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
H A Dmysqli_stmt_get_result_seek.phpt30 if (3 !== $res->num_rows)
31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
70 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
H A Dbug79375.phpt32 echo "Got {$stmt->num_rows} for $name\n";
46 echo "Got {$res->num_rows} for $name\n";
58 echo "Got {$res->num_rows} for $name\n";
73 echo "Got {$stmt->num_rows} for $name\n";
87 echo "Got {$res->num_rows} for $name\n";
H A Dmysqli_get_client_stats.phpt195 $num_rows = $row['_num'];
204 assert(mysqli_num_rows($res) == $num_rows);
276 for ($i = 0; $i < $num_rows - 1; $i++)
338 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
341 …['rows_buffered_from_client_ps'] = (string)($expected['rows_buffered_from_client_ps'] + $num_rows);
375 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
413 for ($i = 0; $i < $num_rows - 1; $i++)
416 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
460 assert($num_rows = $i);
462 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows);
[all …]
H A Dmysqli_fork.phpt141 $num_rows = 0;
157 $num_rows++;
158 if ($num_rows > 3) {
168 … printf("[013] Parent cannot fetch row %d\n", $num_rows, mysqli_errno($link), mysqli_error($link));
199 } while (((time() - $start) < 5) && ($num_rows < 3));
H A Dghsa-h35g-vwh6-m678-query-len-overflow.phpt23 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-float.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-int.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-no-space.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-string.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-time.phpt25 if ($result->num_rows > 0) {
H A Dprotocol_query_row_fetch_data.phpt24 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-bit.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-date.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-datetime.phpt25 if ($result->num_rows > 0) {
H A Dghsa-h35g-vwh6-m678-stmt-row-double.phpt25 if ($result->num_rows > 0) {
H A Dprotocol_stmt_row_fetch_data.phpt25 if ($result->num_rows > 0) {
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_result.c866 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows)(const MYSQLND_RES_UNBUFFERED * const result) in MYSQLND_METHOD() argument
876 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows)(const MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD() argument
885 MYSQLND_METHOD(mysqlnd_res, num_rows)(const MYSQLND_RES * const result) in MYSQLND_METHOD() argument
888 result->stored_data->m.num_rows(result->stored_data) : in MYSQLND_METHOD()
889 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD()
1061 MYSQLND_METHOD(mysqlnd_res, num_rows),
1088 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows),
1097 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows),

Completed in 28 milliseconds

12