Home
last modified time | relevance | path

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

12

/php-src/ext/odbc/tests/
H A Dodbc_num_rows_001.phpt14 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 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.phpt32 $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 Dmysqli_explain_metadata.phpt16 $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 Dmysqli_class_mysqli_result_interface.phpt99 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 Dmysqli_get_client_stats_skipped.phpt20 $num_rows = mysqli_num_rows($res);
21 assert($num_rows > 2);
31 for ($i = 0; $i < $num_rows - 1; $i++)
H A Dmysqli_multi_query.phpt65 $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 Dmysqli_class_mysqli_stmt_interface.phpt34 '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 Dgracefull_fail_on_empty_result_set.phpt40 ["num_rows"]=>
53 ["num_rows"]=>
H A Dmysqli_stmt_get_result_seek.phpt27 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 Dbug79375.phpt31 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 Dmysqli_get_client_stats.phpt191 $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 Dmysqli_fork.phpt139 $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 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) {
/php-src/ext/mysqlnd/
H A Dmysqlnd_result.c864 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),

Completed in 25 milliseconds

12