Home
last modified time | relevance | path

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

12

/php-src/ext/mysqlnd/
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.c231 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 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.c853 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 Dmysqlnd_structs.h494 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-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_field_count.phpt2 mysqli_stmt_get_result() - meta data, field_count()
34 $res_meta->field_count,
35 $res->field_count);
H A Dmysqli_class_mysqli_result_interface.phpt87 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 Dgracefull_fail_on_empty_result_set.phpt36 ["field_count"]=>
49 ["field_count"]=>
H A Dmysqli_class_mysqli_stmt_interface.phpt109 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 Dmysqli_stmt_get_result_seek.phpt30 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 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 D045.phpt12 if (!$stmt->field_count) {
H A Dmysqli_field_count.phpt25 var_dump($link->field_count);
H A Dmysqli_explain_metadata.phpt83 if (($tmp = $res_meta->field_count) !== $num_fields) {
116 if (($tmp = $res_stmt->field_count) !== $num_fields) {
H A D057.phpt88 ["field_count"]=>
H A Dbug34810.phpt82 ["field_count"]=>
H A Dbug_mysql_49406.phpt65 for ($field_idx = 0; $field_idx < $meta_res->field_count; $field_idx++) {
H A Dmysqli_kill.phpt107 ["field_count"]=>
H A Dmysqli_stmt_get_result_metadata.phpt62 if (($tmp1 = mysqli_field_count($link)) !== ($tmp2 = $res->field_count()))
65 if (($tmp1 = $res_meta->field_count()) !== $tmp2)
H A Dfake_server.inc212 $qr1->field_count = "01";
247 $qr1->field_count = "00"; // UPSERT
/php-src/ext/mysqli/
H A Dmysqli_prop.c262 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 Dmysqli.stub.php666 public int $field_count; variable in mysqli
1031 public int $field_count;
1168 public int $field_count;

Completed in 56 milliseconds

12