Home
last modified time | relevance | path

Searched refs:row (Results 51 – 75 of 348) sorted by last modified time

12345678910>>...14

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_insert_id.phpt60 if (!$row = mysqli_fetch_assoc($res)) {
65 $inc = $row['inc'];
87 Note: For a multiple-row insert, LAST_INSERT_ID() and mysql_insert_id() actually
89 multiple-row inserts to be reproduced correctly on other servers in a replication setup.
100 if (!$row = mysqli_fetch_assoc($res)) {
106 if ($next_id != $row['last_id']) {
108 $next_id, $row['last_id']);
H A Dmysqli_insert_packet_overflow.phpt31 if (!$row = mysqli_fetch_assoc($res))
36 if (0 === ($org_max_allowed_packet = (int)$row['Value']))
61 if (!$row = mysqli_fetch_assoc($res))
66 if (0 === ($max_allowed_packet = (int)$row['Value']))
92 if (!$row = mysqli_fetch_assoc($res)) {
95 if ($row['col_blob'] != $blob) {
97 var_dump(strlen($row['col_blob']));
H A Dmysqli_last_insert_id.phpt23 $row = $res->fetch_assoc();
26 return $row['_id'];
128 while ($row = $res->fetch_assoc()) {
129 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
170 while ($row = $res->fetch_assoc()) {
171 printf("id = %d, label = '%s'\n", $row['id'], $row['label']);
H A Dmysqli_more_results.phpt53 while ($row = mysqli_fetch_array($res))
H A Dmysqli_multi_query.phpt33 while ($row = mysqli_fetch_array($res))
47 while ($row = mysqli_fetch_array($res))
60 while ($row = mysqli_fetch_array($res))
77 while ($row = mysqli_fetch_array($res)) {
80 if ($row['num'] != $res_num)
81 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']);
82 if ($row['somechar'] != "a")
83 printf("[014 - %d] Expecting a got %s\n", $res_num, $row['somechar']);
101 printf("[018 - %d] Expecting 1 row, got %d rows\n", $num_rows);
H A Dmysqli_no_reconnect.phpt28 while ($row = mysqli_fetch_assoc($res))
29 $running_threads[$row['Id']] = $row;
44 if (!$row = mysqli_fetch_assoc($res))
49 if ($row['Value'] != 2)
61 while ($row = mysqli_fetch_assoc($res))
62 $running_threads[$row['Id']] = $row;
107 while ($row = mysqli_fetch_assoc($res))
108 $running_threads[$row['Id']] = $row;
H A Dmysqli_num_rows.phpt50 $row = mysqli_fetch_assoc($res);
53 func_test_mysqli_num_rows($link, "SELECT id, label FROM test", (int)$row['num'], 25);
63 $row = mysqli_fetch_row($res);
H A Dmysqli_options.phpt81 while ($row = mysqli_fetch_assoc($res))
82 $charsets[] = $row;
H A Dmysqli_options_int_and_float_native.phpt64 $row = mysqli_fetch_assoc($res);
67 if ($row['id'] !== $data[1]) {
70 $data[1], gettype($data[1]), $row['id'], gettype($row['id']));
90 $row = mysqli_fetch_assoc($res);
93 if (!is_string($row['id']) || ($row['id'] != $data[1])) {
96 $data[1], $row['id'], gettype($row['id']));
H A Dmysqli_pconn_disabled.phpt38 $row = mysqli_fetch_assoc($res);
39 printf("Connecction 1 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
45 $row = mysqli_fetch_assoc($res);
46 printf("Connecction 2 - SELECT @pcondisabled -> '%s'\n", $row['_test']);
H A Dmysqli_pconn_kill.phpt31 while ($row = mysqli_fetch_assoc($res))
32 $running_threads[$row['Id']] = $row;
55 while ($row = mysqli_fetch_assoc($res))
56 $running_threads2[$row['Id']] = $row;
H A Dmysqli_pconn_limits.phpt24 $row = mysqli_fetch_assoc($res);
26 printf("Regular connection 1 - '%s'\n", $row['_desc']);
36 $row = mysqli_fetch_assoc($res);
38 printf("Regular connection 2 - '%s'\n", $row['_desc']);
50 $row = mysqli_fetch_assoc($res);
52 printf("Persistent connection 1 - '%s'\n", $row['_desc']);
63 $row = mysqli_fetch_assoc($res);
65 printf("Persistent connection 2 - '%s'\n", $row['_desc']);
77 $row = mysqli_fetch_assoc($res);
79 printf("Persistent connection 3 - '%s'\n", $row['_desc']);
H A Dmysqli_pconn_max_links.phpt88 if (!$row = mysqli_fetch_assoc($res))
92 var_dump($row);
117 while ($row = mysqli_fetch_assoc($res))
118 $running_threads[$row['Id']] = $row;
161 if (!$row = mysqli_fetch_assoc($res))
165 var_dump($row);
H A Dmysqli_poll_mixing_insert_select.phpt100 while ($row = mysqli_fetch_assoc($res)) {
128 if (!$row = mysqli_fetch_row($res))
135 $row = mysqli_fetch_assoc($res);
136 var_dump($row);
141 $row = mysqli_fetch_assoc($res);
142 if ($row['_version'] != 'myversion') {
H A Dmysqli_ps_select_union.phpt20 while ($row = $res->fetch_assoc()) {
21 $data[] = $row['column1'];
22 var_dump($row['column1']);
77 while ($row = $res->fetch_assoc()) {
78 $data[] = $row['column1'];
126 while ($row = $res->fetch_assoc()) {
127 $data[] = $row['column1'];
H A Dmysqli_query_iterators.phpt22 foreach ($res as $row) {
23 var_dump($row);
26 foreach ($res as $row) {
27 var_dump($row);
30 foreach ($res as $row) {
31 var_dump($row);
38 foreach ($res as $row) {
39 var_dump($row);
43 var_dump($row);
53 var_dump($row);
[all …]
H A Dmysqli_query_stored_proc.phpt111 if (!$row = mysqli_fetch_assoc($res) ||
112 $row['_vers'] == 'unknown')
114 $row['_vers'],
139 if (!$row = mysqli_fetch_assoc($res) ||
140 $row['_vers'] == 'myversion')
142 $row['_vers'],
H A Dmysqli_fetch_assoc_no_alias_utf8.phpt69 while ($row = mysqli_fetch_assoc($res)) {
70 var_dump($row);
H A Dmysqli_fetch_assoc_zerofill.phpt35 $row = mysqli_fetch_assoc($res);
44 if ($expected !== $row['zero']) {
45 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']);
H A Dmysqli_fetch_assoc_bit.phpt85 if (!$row = mysqli_fetch_assoc($res))
88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
89 debug_zval_dump($row);
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
94 if ($value != $row['bit_value']) {
95 debug_zval_dump($row);
96 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin);
97 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
101 if (null !== $row['bit_null']) {
102 debug_zval_dump($row);
[all …]
H A Dmysqli_get_client_stats.phpt180 if (!$row = mysqli_fetch_assoc($res))
199 $num_rows = $row['_num'];
254 while ($row = mysqli_fetch_assoc($res))
281 $row = mysqli_fetch_assoc($res);
303 /* last row has been implicitly cleaned from the wire by freeing the result set */
562 while ($row = mysqli_fetch_assoc($res))
873 while ($row = mysqli_fetch_assoc($res))
890 while ($row = mysqli_fetch_assoc($res))
H A Dmysqli_fetch_all.phpt134 $row = $tmp[0];
141 …if (!preg_match($regexp_comparison, (string)$row['label']) || !preg_match($regexp_comparison, (str…
144 gettype($row[1]), $row[1],
145 … gettype($row['label']), $row['label'], mysqli_errno($link), mysqli_error($link));
149 if (($row['label'] !== $php_value) || ($row[1] != $php_value)) {
152 gettype($row[1]), $row[1],
153 … gettype($row['label']), $row['label'], mysqli_errno($link), mysqli_error($link));
H A Dmysqli_fetch_all_oo.phpt135 $row = $tmp[0];
141 …if (!preg_match($regexp_comparison, (string)$row['label']) || !preg_match($regexp_comparison, (str…
144 gettype($row[1]), $row[1],
145 gettype($row['label']), $row['label'], $link->errno, $link->error);
149 if (($row['label'] !== $php_value) || ($row[1] != $php_value)) {
152 gettype($row[1]), $row[1],
153 gettype($row['label']), $row['label'], $link->errno, $link->error);
H A Dmysqli_fetch_array.phpt107 if (!$row = mysqli_fetch_array($res, MYSQLI_BOTH)) {
113 …if (!preg_match($regexp_comparison, (string)$row['label']) || !preg_match($regexp_comparison, (str…
116 gettype($row[1]), $row[1],
117 … gettype($row['label']), $row['label'], mysqli_errno($link), mysqli_error($link));
123 if (($row['label'] != $php_value) || ($row[1] != $php_value)) {
126 gettype($row[1]), $row[1],
127 … gettype($row['label']), $row['label'], mysqli_errno($link), mysqli_error($link));
130 if (gettype($row['label']) == 'unicode') {
137 if (($row['label'] !== $php_value) || ($row[1] != $php_value)) {
140 gettype($row[1]), $row[1],
[all …]
H A Dmysqli_fetch_lengths.phpt30 while ($row = mysqli_fetch_assoc($res))

Completed in 40 milliseconds

12345678910>>...14