Lines Matching refs:meta
36 …initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result, MYSQLND_RES_METADATA * const meta, in MYSQLND_METHOD()
41 const unsigned int field_count = meta->field_count; in MYSQLND_METHOD()
58 meta->fields, in MYSQLND_METHOD()
74 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
75 meta->fields[i].max_length = len; in MYSQLND_METHOD()
89 …initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result, MYSQLND_RES_METADATA * const meta, in MYSQLND_METHOD()
94 const unsigned int field_count = meta->field_count; in MYSQLND_METHOD()
113 …rc = result->m.row_decoder(result->row_buffers[i], current_row, field_count, meta->fields, int_and… in MYSQLND_METHOD()
129 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
130 meta->fields[i].max_length = len; in MYSQLND_METHOD()
323 if (result->meta) { in MYSQLND_METHOD()
324 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
325 result->meta = NULL; in MYSQLND_METHOD()
366 if (result->meta) { in MYSQLND_METHOD()
367 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
368 result->meta = NULL; in MYSQLND_METHOD()
371 result->meta = result->m.result_meta_init(result->field_count, result->persistent); in MYSQLND_METHOD()
372 if (!result->meta) { in MYSQLND_METHOD()
380 if (FAIL == result->meta->m->read_metadata(result->meta, conn)) { in MYSQLND_METHOD()
385 result->field_count = result->meta->field_count; in MYSQLND_METHOD()
683 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
718 unsigned int i, field_count = meta->field_count; in MYSQLND_METHOD()
732 MYSQLND_FIELD * field = meta->fields; in MYSQLND_METHOD()
802 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
837 unsigned int i, field_count = meta->field_count; in MYSQLND_METHOD()
850 MYSQLND_FIELD * field = meta->fields; in MYSQLND_METHOD()
870 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
871 zend_hash_update(Z_ARRVAL_P(row), meta->fields[i].sname, data); in MYSQLND_METHOD()
873 zend_hash_index_update(Z_ARRVAL_P(row), meta->zend_hash_keys[i].key, data); in MYSQLND_METHOD()
953 result->unbuf->row_packet->fields_metadata = result->meta->fields; in MYSQLND_METHOD()
954 result->unbuf->row_packet->bit_fields_count = result->meta->bit_fields_count; in MYSQLND_METHOD()
955 result->unbuf->row_packet->bit_fields_total_len = result->meta->bit_fields_total_len; in MYSQLND_METHOD()
970 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
971 unsigned int field_count = meta->field_count; in MYSQLND_METHOD()
990 meta->fields, in MYSQLND_METHOD()
1005 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
1006 meta->fields[i].max_length = len; in MYSQLND_METHOD()
1062 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
1063 unsigned int field_count = meta->field_count; in MYSQLND_METHOD()
1081 meta->fields, in MYSQLND_METHOD()
1096 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
1097 meta->fields[i].max_length = len; in MYSQLND_METHOD()
1121 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1122 zend_hash_update(Z_ARRVAL_P(row), meta->fields[i].sname, data); in MYSQLND_METHOD()
1124 zend_hash_index_update(Z_ARRVAL_P(row), meta->zend_hash_keys[i].key, data); in MYSQLND_METHOD()
1149 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD() local
1150 unsigned int field_count = meta->field_count; in MYSQLND_METHOD()
1172 meta->fields, in MYSQLND_METHOD()
1191 if (meta->fields[i].max_length < len) { in MYSQLND_METHOD()
1192 meta->fields[i].max_length = len; in MYSQLND_METHOD()
1216 if (meta->zend_hash_keys[i].is_numeric == FALSE) { in MYSQLND_METHOD()
1217 zend_hash_update(Z_ARRVAL_P(row), meta->fields[i].sname, data); in MYSQLND_METHOD()
1219 zend_hash_index_update(Z_ARRVAL_P(row), meta->zend_hash_keys[i].key, data); in MYSQLND_METHOD()
1269 MYSQLND_RES_METADATA * meta, in MYSQLND_METHOD()
1304 row_packet->field_count = meta->field_count; in MYSQLND_METHOD()
1306 row_packet->fields_metadata = meta->fields; in MYSQLND_METHOD()
1307 row_packet->bit_fields_count = meta->bit_fields_count; in MYSQLND_METHOD()
1308 row_packet->bit_fields_total_len = meta->bit_fields_total_len; in MYSQLND_METHOD()
1426 …ret = result->m.store_result_fetch_data(conn, result, result->meta, row_buffers, flags & MYSQLND_S… in MYSQLND_METHOD()
1438 MYSQLND_RES_METADATA * meta = result->meta; in MYSQLND_METHOD() local
1442 if (set->row_count * meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
1447 set->data = mnd_emalloc((size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1452 memset(set->data, 0, (size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1608 if (result->meta) { in MYSQLND_METHOD()
1622 …if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, result->meta, r… in MYSQLND_METHOD()
1628 DBG_RETURN(result->meta->m->fetch_field(result->meta)); in MYSQLND_METHOD()
1642 if (result->meta) { in MYSQLND_METHOD()
1656 …if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, result->meta, r… in MYSQLND_METHOD()
1662 DBG_RETURN(result->meta->m->fetch_field_direct(result->meta, fieldnr)); in MYSQLND_METHOD()
1677 if (result->meta) { in MYSQLND_METHOD()
1680 …if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, result->meta, r… in MYSQLND_METHOD()
1686 DBG_RETURN(result->meta->m->fetch_fields(result->meta)); in MYSQLND_METHOD()
1698 return result->meta? result->meta->m->field_seek(result->meta, field_offset) : 0; in MYSQLND_METHOD()
1707 return result->meta? result->meta->m->field_tell(result->meta) : 0; in MYSQLND_METHOD()