Lines Matching refs:field_count
50 for (unsigned i = 0; i < result->field_count; ++i) { in mysqlnd_result_free_prev_data()
145 result->meta = result->m.result_meta_init(result, result->field_count); in MYSQLND_METHOD()
216 switch (rset_header.field_count) { in mysqlnd_query_read_result_set_header()
221 …conn->field_count = 0; /* overwrite previous value, or the last value could be used and lead to bu… in mysqlnd_query_read_result_set_header()
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()
264 result = conn->current_result = conn->m->result_init(rset_header.field_count); in mysqlnd_query_read_result_set_header()
273 result = stmt->result = conn->m->result_init(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()
289 stmt->result = conn->m->result_init(rset_header.field_count); in mysqlnd_query_read_result_set_header()
448 unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local
452 &set->last_row_buffer, result->row_data, field_count, in MYSQLND_METHOD()
462 for (unsigned i = 0; i < field_count; i++) { in MYSQLND_METHOD()
525 result->unbuf = mysqlnd_result_unbuffered_init(result, result->field_count, stmt); in MYSQLND_METHOD()
538 row_packet->field_count = result->field_count; in MYSQLND_METHOD()
562 const unsigned int field_count = meta->field_count; in MYSQLND_METHOD() local
569 field_count, in MYSQLND_METHOD()
578 for (unsigned i = 0; i < field_count; ++i) { in MYSQLND_METHOD()
644 row_packet.field_count = meta->field_count; in MYSQLND_METHOD()
761 …ed_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_init(result, result->field_count, stmt); in MYSQLND_METHOD()
896 return result->field_count; in MYSQLND_METHOD()
990 unsigned int array_size = meta->field_count; in MYSQLND_METHOD()
998 for (unsigned i = 0; i < meta->field_count; i++, field++) { in MYSQLND_METHOD()
1040 unsigned field_count = result->field_count; in MYSQLND_METHOD() local
1043 ret = mnd_emalloc(field_count * sizeof(char *)); in MYSQLND_METHOD()
1044 for (unsigned i = 0; i < field_count; i++, field++) { in MYSQLND_METHOD()
1111 mysqlnd_result_init(const unsigned int field_count) in mysqlnd_result_init() argument
1127 ret->row_data = pool->get_chunk(pool, field_count * sizeof(zval)); in mysqlnd_result_init()
1131 ret->field_count = field_count; in mysqlnd_result_init()
1143 mysqlnd_result_unbuffered_init(MYSQLND_RES *result, const unsigned int field_count, MYSQLND_STMT_DA… in mysqlnd_result_unbuffered_init() argument
1155 ret->field_count = field_count; in mysqlnd_result_unbuffered_init()
1167 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1168 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1178 mysqlnd_result_buffered_init(MYSQLND_RES * result, const unsigned int field_count, MYSQLND_STMT_DAT… in mysqlnd_result_buffered_init() argument
1192 ret->field_count= field_count; in mysqlnd_result_buffered_init()
1203 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init()
1204 memset(ret->lengths, 0, field_count * sizeof(size_t)); in mysqlnd_result_buffered_init()