/PHP-8.1/ext/mysqli/tests/ |
H A D | bug36420.phpt | 2 Bug #36420 (segfault when access result->num_rows after calling result->close()) 19 $result->num_rows; 26 $result->num_rows;
|
H A D | mysqli_get_client_stats_ps.phpt | 35 $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 D | mysqli_explain_metadata.phpt | 20 $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 D | mysqli_get_client_stats_skipped.phpt | 23 $num_rows = mysqli_num_rows($res); 24 assert($num_rows > 2); 34 for ($i = 0; $i < $num_rows - 1; $i++)
|
H A D | mysqli_class_mysqli_result_interface.phpt | 100 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 D | mysqli_class_mysqli_stmt_interface.phpt | 35 '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 D | gracefull_fail_on_empty_result_set.phpt | 40 ["num_rows"]=> 53 ["num_rows"]=>
|
H A D | mysqli_multi_query.phpt | 67 $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 D | mysqli_stmt_get_result_seek.phpt | 30 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 D | bug79375.phpt | 32 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 D | mysqli_get_client_stats.phpt | 195 $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 D | mysqli_fork.phpt | 141 $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 D | ghsa-h35g-vwh6-m678-query-len-overflow.phpt | 23 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-float.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-int.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-no-space.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-string.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-time.phpt | 25 if ($result->num_rows > 0) {
|
H A D | protocol_query_row_fetch_data.phpt | 24 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-bit.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-date.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-datetime.phpt | 25 if ($result->num_rows > 0) {
|
H A D | ghsa-h35g-vwh6-m678-stmt-row-double.phpt | 25 if ($result->num_rows > 0) {
|
H A D | protocol_stmt_row_fetch_data.phpt | 25 if ($result->num_rows > 0) {
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 866 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),
|