Lines Matching refs:fields

68 		if (meta->fields[i].root) {  in MYSQLND_METHOD()
70 mnd_pefree(meta->fields[i].root, meta->persistent); in MYSQLND_METHOD()
71 meta->fields[i].root = NULL; in MYSQLND_METHOD()
74 field_packet->metadata = &(meta->fields[i]); in MYSQLND_METHOD()
91 if (mysqlnd_ps_fetch_functions[meta->fields[i].type].func == NULL) { in MYSQLND_METHOD()
93 meta->fields[i].type); in MYSQLND_METHOD()
97 meta->fields[i].type); in MYSQLND_METHOD()
101 if (meta->fields[i].type == MYSQL_TYPE_BIT) { in MYSQLND_METHOD()
106 field_len = meta->fields[i].length / 8; in MYSQLND_METHOD()
111 if (meta->fields[i].length % 8) { in MYSQLND_METHOD()
153 MYSQLND_FIELD *fields; in MYSQLND_METHOD() local
157 if ((fields = meta->fields)) { in MYSQLND_METHOD()
161 php_mysqlnd_free_field_metadata(fields++, meta->persistent); in MYSQLND_METHOD()
163 mnd_pefree(meta->fields, meta->persistent); in MYSQLND_METHOD()
164 meta->fields = NULL; in MYSQLND_METHOD()
188 MYSQLND_FIELD * orig_fields = meta->fields; in MYSQLND_METHOD()
264 new_meta->fields = new_fields; in MYSQLND_METHOD()
287 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
288 meta->fields[meta->current_field].max_length); in MYSQLND_METHOD()
289 DBG_RETURN(&meta->fields[meta->current_field++]); in MYSQLND_METHOD()
301 meta->fields[meta->current_field].name? meta->fields[meta->current_field].name:"", in MYSQLND_METHOD()
302 meta->fields[meta->current_field].max_length); in MYSQLND_METHOD()
303 DBG_RETURN(&meta->fields[fieldnr]); in MYSQLND_METHOD()
313 DBG_RETURN(meta->fields); in MYSQLND_METHOD()
370 ret->fields = mnd_pecalloc(field_count + 1, sizeof(MYSQLND_FIELD), ret->persistent); in mysqlnd_result_meta_init()
372 if (!ret->fields || !ret->zend_hash_keys) { in mysqlnd_result_meta_init()