/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 156 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() 1035 unsigned field_count = result->field_count; in MYSQLND_METHOD() local 1126 ret->field_count = field_count; in mysqlnd_result_init() 1150 ret->field_count = field_count; in mysqlnd_result_unbuffered_init() [all …]
|
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_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 | 836 packet->field_count = uint1korr(p); in php_mysqlnd_ok_read() 840 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_ok_read() 929 packet->field_count = uint1korr(p); in php_mysqlnd_eof_read() 933 if (ERROR_MARKER == packet->field_count) { in php_mysqlnd_eof_read() 1075 switch (packet->field_count) { in php_mysqlnd_rset_header_read() 1449 end_field = (start_field = fields) + field_count; in php_mysqlnd_rowp_read_binary_protocol() 1454 p += (field_count + 9)/8; /* skip null bits */ in php_mysqlnd_rowp_read_binary_protocol() 1835 packet->field_count = uint2korr(p); in php_mysqlnd_prepare_read() 2496 if (0xFF == ok_response.field_count) { in MYSQLND_METHOD() 2548 } else if (0xFF == response.field_count) { in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_structs.h | 495 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.1/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_field_count.phpt | 2 mysqli_stmt_get_result() - meta data, field_count() 37 $res_meta->field_count, 38 $res->field_count);
|
H A D | gracefull_fail_on_empty_result_set.phpt | 36 ["field_count"]=> 49 ["field_count"]=>
|
H A D | mysqli_class_mysqli_result_interface.phpt | 88 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), 161 field_count 170 mysqli_result->field_count = '2'/integer ('2'/integer)
|
H A D | mysqli_class_mysqli_stmt_interface.phpt | 112 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count); 113 printf("stmt->field_count = '%s'\n", $stmt->field_count); 149 field_count 167 stmt->field_count = '0'
|
H A D | mysqli_stmt_result_metadata_sqltests.phpt | 58 '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 D | mysqli_class_mysqli_interface.phpt | 104 "field_count" => true, 187 assert(mysqli_field_count($link) === $mysqli->field_count); 188 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n", 189 $mysqli->field_count, gettype($mysqli->field_count), 282 mysqli->field_count = '0'/integer ('0'/integer)
|
H A D | mysqli_stmt_get_result_seek.phpt | 33 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 D | 045.phpt | 15 if (!$stmt->field_count) {
|
H A D | mysqli_field_count.phpt | 27 var_dump($link->field_count);
|
H A D | mysqli_explain_metadata.phpt | 87 if (($tmp = $res_meta->field_count) !== $num_fields) { 121 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 | 66 for ($field_idx = 0; $field_idx < $meta_res->field_count; $field_idx++) {
|
H A D | mysqli_kill.phpt | 113 ["field_count"]=>
|
H A D | mysqli_stmt_get_result_metadata.phpt | 65 if (($tmp1 = mysqli_field_count($link)) !== ($tmp2 = $res->field_count())) 68 if (($tmp1 = $res_meta->field_count()) !== $tmp2)
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_prop.c | 281 uint32_t field_count; in result_lengths_read() local 285 field_count = mysql_num_fields(p); in result_lengths_read() 286 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 293 for (i = 0; i < field_count; i++) { in result_lengths_read()
|
H A D | mysqli.stub.php | 75 public int $field_count; variable in mysqli 440 public int $field_count; variable in mysqli_result 577 public int $field_count; variable in mysqli_stmt
|