Home
last modified time | relevance | path

Searched refs:field_count (Results 1 – 25 of 28) sorted by relevance

12

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_result.c156 result->field_count = result->meta->field_count; in MYSQLND_METHOD()
233 conn->field_count = rset_header.field_count; in mysqlnd_query_read_result_set_header()
264 conn->field_count = rset_header.field_count; in mysqlnd_query_read_result_set_header()
450 unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local
540 row_packet->field_count = result->field_count; in MYSQLND_METHOD()
564 const unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local
646 row_packet.field_count = meta->field_count; in MYSQLND_METHOD()
1042 unsigned field_count = result->field_count; in MYSQLND_METHOD() local
1133 ret->field_count = field_count; in mysqlnd_result_init()
1157 ret->field_count = field_count; in mysqlnd_result_unbuffered_init()
[all …]
H A Dmysqlnd_result.h21 PHPAPI MYSQLND_RES * mysqlnd_result_init(const unsigned int field_count);
22 …ysqlnd_result_unbuffered_init(MYSQLND_RES * result, const unsigned int field_count, MYSQLND_STMT_D…
23 … mysqlnd_result_buffered_init(MYSQLND_RES * result, const unsigned int field_count, MYSQLND_STMT_D…
H A Dmysqlnd_result_meta.c54 for (;i < meta->field_count; i++) { in MYSQLND_METHOD()
102 i = meta->field_count; in MYSQLND_METHOD()
135 …new_fields = result->memory_pool->get_chunk(result->memory_pool, (meta->field_count + 1) * sizeof(… in MYSQLND_METHOD()
139 memset(new_fields, 0, (meta->field_count + 1) * sizeof(MYSQLND_FIELD)); in MYSQLND_METHOD()
145 memcpy(new_fields, orig_fields, (meta->field_count) * sizeof(MYSQLND_FIELD)); in MYSQLND_METHOD()
146 for (i = 0; i < meta->field_count; i++) { in MYSQLND_METHOD()
194 new_meta->field_count = meta->field_count; in MYSQLND_METHOD()
214 if (meta->current_field >= meta->field_count) { in MYSQLND_METHOD()
284 mysqlnd_result_meta_init(MYSQLND_RES *result, unsigned int field_count) in mysqlnd_result_meta_init() argument
294 ret->field_count = field_count; in mysqlnd_result_meta_init()
[all …]
H A Dmysqlnd_wireprotocol.h133 uint8_t field_count; /* always 0x0 */ member
158 uint8_t field_count; /* 0xFE */ member
178 zend_ulong field_count; member
209 uint32_t field_count; member
242 unsigned int field_count; member
307 unsigned int field_count, const MYSQLND_FIELD * fields_metadata,
312 unsigned int field_count, const MYSQLND_FIELD * fields_metadata,
H A Dmysqlnd_ps.c86 if (!stmt->field_count) { in MYSQLND_METHOD()
156 if (!stmt->field_count) { in MYSQLND_METHOD()
322 stmt->field_count = conn->field_count = prepare_resp.field_count; in mysqlnd_stmt_read_prepare_response()
443 if (stmt->field_count) { in MYSQLND_METHOD()
531 if (stmt->result_bind && conn->field_count != stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
532 if (conn->field_count < stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
534 for (unsigned i = conn->field_count; i < stmt->field_count; i++) { in mysqlnd_stmt_execute_parse_response()
540 if (conn->field_count > stmt->field_count) { in mysqlnd_stmt_execute_parse_response()
542 for (unsigned i = stmt->field_count; i < conn->field_count; i++) { in mysqlnd_stmt_execute_parse_response()
549 stmt->field_count = stmt->result->field_count = conn->field_count; in mysqlnd_stmt_execute_parse_response()
[all …]
H A Dmysqlnd_result_meta.h22 …PI MYSQLND_RES_METADATA * mysqlnd_result_meta_init(MYSQLND_RES * result, unsigned int field_count);
H A Dmysqlnd_wireprotocol.c866 packet->field_count = uint1korr(p); in php_mysqlnd_ok_read()
870 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_ok_read()
959 packet->field_count = uint1korr(p); in php_mysqlnd_eof_read()
963 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_eof_read()
1105 switch (packet->field_count) { in php_mysqlnd_rset_header_read()
1485 end_field = (start_field = fields) + field_count; in php_mysqlnd_rowp_read_binary_protocol()
1490 p += (field_count + 9)/8; /* skip null bits */ in php_mysqlnd_rowp_read_binary_protocol()
1887 packet->field_count = uint2korr(p); in php_mysqlnd_prepare_read()
2550 if (0xFF == ok_response.field_count) { in MYSQLND_METHOD()
2602 } else if (0xFF == response.field_count) { in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_structs.h495 typedef MYSQLND_RES * (*func_mysqlnd_conn_data__result_init)(unsigned int field_count);
625 const unsigned int field_count, const MYSQLND_FIELD * const fields_metadata,
653 …ES_METADATA * (*func_mysqlnd_res__result_meta_init)(MYSQLND_RES *result, unsigned int field_count);
936 unsigned int field_count; member
1159 unsigned int field_count; member
1179 unsigned int field_count; member
1208 unsigned int field_count; member
1220 unsigned int field_count; member
1259 unsigned int field_count; member
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_field_count.phpt2 mysqli_stmt_get_result() - meta data, field_count()
37 $res_meta->field_count,
38 $res->field_count);
H A Dgracefull_fail_on_empty_result_set.phpt36 ["field_count"]=>
49 ["field_count"]=>
H A Dmysqli_class_mysqli_result_interface.phpt88 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
89 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n",
90 $mysqli_result->field_count, gettype($mysqli_result->field_count),
154 field_count
163 mysqli_result->field_count = '2'/integer ('2'/integer)
H A Dmysqli_class_mysqli_stmt_interface.phpt110 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count);
111 printf("stmt->field_count = '%s'\n", $stmt->field_count);
147 field_count
165 stmt->field_count = '0'
H A Dmysqli_stmt_result_metadata_sqltests.phpt58 'field_count' => $res->field_count,
127 'field_count' => mysqli_field_count($link),
151 if ($meta_res['field_count'] < 1) {
214 'field_count' => 1,
H A Dmysqli_class_mysqli_interface.phpt102 "field_count" => true,
185 assert(mysqli_field_count($link) === $mysqli->field_count);
186 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n",
187 $mysqli->field_count, gettype($mysqli->field_count),
280 mysqli->field_count = '0'/integer ('0'/integer)
H A Dmysqli_stmt_get_result_seek.phpt33 if (2 !== $res->field_count)
34 …rintf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count);
H A D045.phpt14 if (!$stmt->field_count) {
H A Dmysqli_field_count.phpt27 var_dump($link->field_count);
H A Dmysqli_explain_metadata.phpt83 if (($tmp = $res_meta->field_count) !== $num_fields) {
117 if (($tmp = $res_stmt->field_count) !== $num_fields) {
H A D057.phpt88 ["field_count"]=>
H A Dbug34810.phpt82 ["field_count"]=>
H A Dmysqli_kill.phpt107 ["field_count"]=>
H A Dbug_mysql_49406.phpt66 for ($field_idx = 0; $field_idx < $meta_res->field_count; $field_idx++) {
H A Dmysqli_stmt_get_result_metadata.phpt65 if (($tmp1 = mysqli_field_count($link)) !== ($tmp2 = $res->field_count()))
68 if (($tmp1 = $res_meta->field_count()) !== $tmp2)
/PHP-8.2/ext/mysqli/
H A Dmysqli_prop.c264 uint32_t field_count; in result_lengths_read() local
268 field_count = mysql_num_fields(p); in result_lengths_read()
269 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read()
276 for (i = 0; i < field_count; i++) { in result_lengths_read()
H A Dmysqli.stub.php687 public int $field_count; variable in mysqli
1051 public int $field_count;
1188 public int $field_count;

Completed in 497 milliseconds

12