/PHP-8.4/ext/mysqlnd/ |
H A D | mysqlnd_result.h | 21 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 D | mysqlnd_result.c | 231 conn->field_count = rset_header.field_count; in mysqlnd_query_read_result_set_header() 262 conn->field_count = rset_header.field_count; in mysqlnd_query_read_result_set_header() 287 if (rset_header.field_count != stmt->result->field_count) { in mysqlnd_query_read_result_set_header() 448 unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local 538 row_packet->field_count = result->field_count; in MYSQLND_METHOD() 562 const unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local 644 row_packet.field_count = meta->field_count; in MYSQLND_METHOD() 1040 unsigned field_count = result->field_count; in MYSQLND_METHOD() local 1131 ret->field_count = field_count; in mysqlnd_result_init() 1155 ret->field_count = field_count; in mysqlnd_result_unbuffered_init() [all …]
|
H A D | mysqlnd_result_meta.c | 54 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 D | mysqlnd_wireprotocol.h | 133 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 D | mysqlnd_ps.c | 86 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 D | mysqlnd_result_meta.h | 22 …PI MYSQLND_RES_METADATA * mysqlnd_result_meta_init(MYSQLND_RES * result, unsigned int field_count);
|
H A D | mysqlnd_wireprotocol.c | 853 packet->field_count = uint1korr(p); in php_mysqlnd_ok_read() 857 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_ok_read() 946 packet->field_count = uint1korr(p); in php_mysqlnd_eof_read() 950 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_eof_read() 1092 switch (packet->field_count) { in php_mysqlnd_rset_header_read() 1472 end_field = (start_field = fields) + field_count; in php_mysqlnd_rowp_read_binary_protocol() 1477 p += (field_count + 9)/8; /* skip null bits */ in php_mysqlnd_rowp_read_binary_protocol() 1876 packet->field_count = uint2korr(p); in php_mysqlnd_prepare_read() 2539 if (0xFF == ok_response.field_count) { in MYSQLND_METHOD() 2591 } else if (0xFF == response.field_count) { in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_structs.h | 494 typedef MYSQLND_RES * (*func_mysqlnd_conn_data__result_init)(unsigned int field_count); 623 const unsigned int field_count, const MYSQLND_FIELD * const fields_metadata, 651 …ES_METADATA * (*func_mysqlnd_res__result_meta_init)(MYSQLND_RES *result, unsigned int field_count); 934 unsigned int field_count; member 1157 unsigned int field_count; member 1177 unsigned int field_count; member 1206 unsigned int field_count; member 1218 unsigned int field_count; member 1257 unsigned int field_count; member
|
/PHP-8.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_field_count.phpt | 2 mysqli_stmt_get_result() - meta data, field_count() 34 $res_meta->field_count, 35 $res->field_count);
|
H A D | mysqli_class_mysqli_result_interface.phpt | 87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count); 88 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n", 89 $mysqli_result->field_count, gettype($mysqli_result->field_count), 150 field_count 159 mysqli_result->field_count = '2'/integer ('2'/integer)
|
H A D | gracefull_fail_on_empty_result_set.phpt | 36 ["field_count"]=> 49 ["field_count"]=>
|
H A D | mysqli_class_mysqli_stmt_interface.phpt | 109 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count); 110 printf("stmt->field_count = '%s'\n", $stmt->field_count); 146 field_count 164 stmt->field_count = '0'
|
H A D | mysqli_stmt_get_result_seek.phpt | 30 if (2 !== $res->field_count) 31 …rintf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count);
|
H A D | mysqli_class_mysqli_interface.phpt | 102 "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 D | 045.phpt | 12 if (!$stmt->field_count) {
|
H A D | mysqli_field_count.phpt | 25 var_dump($link->field_count);
|
H A D | mysqli_explain_metadata.phpt | 83 if (($tmp = $res_meta->field_count) !== $num_fields) { 116 if (($tmp = $res_stmt->field_count) !== $num_fields) {
|
H A D | 057.phpt | 88 ["field_count"]=>
|
H A D | bug34810.phpt | 82 ["field_count"]=>
|
H A D | bug_mysql_49406.phpt | 65 for ($field_idx = 0; $field_idx < $meta_res->field_count; $field_idx++) {
|
H A D | mysqli_kill.phpt | 107 ["field_count"]=>
|
H A D | mysqli_stmt_get_result_metadata.phpt | 62 if (($tmp1 = mysqli_field_count($link)) !== ($tmp2 = $res->field_count())) 65 if (($tmp1 = $res_meta->field_count()) !== $tmp2)
|
H A D | fake_server.inc | 212 $qr1->field_count = "01"; 247 $qr1->field_count = "00"; // UPSERT
|
/PHP-8.4/ext/mysqli/ |
H A D | mysqli_prop.c | 262 uint32_t field_count; in result_lengths_read() local 266 field_count = mysql_num_fields(p); in result_lengths_read() 267 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 274 for (i = 0; i < field_count; i++) { in result_lengths_read()
|
H A D | mysqli.stub.php | 666 public int $field_count; variable in mysqli 1031 public int $field_count; 1168 public int $field_count;
|