/php-src/ext/odbc/tests/ |
H A D | odbc_num_rows_001.phpt | 14 odbc_exec($conn, 'CREATE TABLE num_rows (test INT)'); 15 odbc_exec($conn, 'INSERT INTO num_rows VALUES (1), (2), (3)'); 17 $res = odbc_exec($conn, 'SELECT * FROM num_rows'); 21 $res = odbc_exec($conn, 'SELECT * FROM num_rows WHERE test = 4'); 31 odbc_exec($conn, 'DROP TABLE num_rows');
|
/php-src/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 | 32 $num_rows = 0; 34 $num_rows++; 45 $stats['rows_fetched_from_client_ps_buffered'] += $num_rows; 62 $num_rows = 0; 64 $num_rows++; 67 $stats['rows_fetched_from_client_ps_unbuffered'] += $num_rows;
|
H A D | mysqli_explain_metadata.phpt | 16 $num_rows = 0; 23 $num_rows++; 30 $num_rows++; 32 if (($tmp = mysqli_num_rows($res)) !== $num_rows) { 34 $num_rows, gettype($tmp), $tmp); 71 if (($tmp = mysqli_stmt_num_rows($stmt)) !== $num_rows) { 73 $num_rows, gettype($tmp), $tmp); 104 if (($tmp = mysqli_num_rows($res_stmt)) !== $num_rows) { 106 $num_rows, gettype($tmp), $tmp);
|
H A D | mysqli_class_mysqli_result_interface.phpt | 99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows); 100 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n", 101 $mysqli_result->num_rows, gettype($mysqli_result->num_rows), 116 $res->num_rows; 152 num_rows 161 mysqli_result->num_rows = '6'/integer ('6'/integer)
|
H A D | mysqli_get_client_stats_skipped.phpt | 20 $num_rows = mysqli_num_rows($res); 21 assert($num_rows > 2); 31 for ($i = 0; $i < $num_rows - 1; $i++)
|
H A D | mysqli_multi_query.phpt | 65 $num_rows = 0; 68 $num_rows++; 74 if (1 == $num_rows) { 89 if ($num_rows != 1) 90 printf("[018 - %d] Expecting 1 row, got %d rows\n", $res_num, $num_rows);
|
H A D | mysqli_class_mysqli_stmt_interface.phpt | 34 'num_rows' => true, 118 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows); 119 printf("stmt->num_rows = '%s'\n", $stmt->num_rows); 149 num_rows 167 stmt->num_rows = '0'
|
H A D | gracefull_fail_on_empty_result_set.phpt | 40 ["num_rows"]=> 53 ["num_rows"]=>
|
H A D | mysqli_stmt_get_result_seek.phpt | 27 if (3 !== $res->num_rows) 28 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows); 67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
|
H A D | bug79375.phpt | 31 echo "Got {$stmt->num_rows} for $name\n"; 45 echo "Got {$res->num_rows} for $name\n"; 57 echo "Got {$res->num_rows} for $name\n"; 72 echo "Got {$stmt->num_rows} for $name\n"; 86 echo "Got {$res->num_rows} for $name\n";
|
H A D | mysqli_get_client_stats.phpt | 191 $num_rows = $row['_num']; 200 assert(mysqli_num_rows($res) == $num_rows); 272 for ($i = 0; $i < $num_rows - 1; $i++) 334 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows); 337 …['rows_buffered_from_client_ps'] = (string)($expected['rows_buffered_from_client_ps'] + $num_rows); 371 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows); 409 for ($i = 0; $i < $num_rows - 1; $i++) 412 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows); 456 assert($num_rows = $i); 458 …ed['rows_fetched_from_server_ps'] = (string)($expected['rows_fetched_from_server_ps'] + $num_rows); [all …]
|
H A D | mysqli_fork.phpt | 139 $num_rows = 0; 155 $num_rows++; 156 if ($num_rows > 3) { 166 … printf("[013] Parent cannot fetch row %d\n", $num_rows, mysqli_errno($link), mysqli_error($link)); 197 } 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) {
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 864 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows)(const MYSQLND_RES_UNBUFFERED * const result) in MYSQLND_METHOD() argument 874 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows)(const MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD() argument 883 MYSQLND_METHOD(mysqlnd_res, num_rows)(const MYSQLND_RES * const result) in MYSQLND_METHOD() argument 886 result->stored_data->m.num_rows(result->stored_data) : in MYSQLND_METHOD() 887 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD() 1066 MYSQLND_METHOD(mysqlnd_res, num_rows), 1093 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows), 1102 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows),
|