Lines Matching refs:new_meta
312 MYSQLND_RES_METADATA * new_meta = NULL; in MYSQLND_METHOD() local
320 new_meta = mnd_pecalloc(1, sizeof(MYSQLND_RES_METADATA), persistent); in MYSQLND_METHOD()
321 if (!new_meta) { in MYSQLND_METHOD()
324 new_meta->persistent = persistent; in MYSQLND_METHOD()
325 new_meta->m = meta->m; in MYSQLND_METHOD()
332 new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); in MYSQLND_METHOD()
333 if (!new_meta->zend_hash_keys) { in MYSQLND_METHOD()
336 memcpy(new_meta->zend_hash_keys, meta->zend_hash_keys, len); in MYSQLND_METHOD()
383 if (new_meta->zend_hash_keys[i].ustr.u) { in MYSQLND_METHOD()
384 new_meta->zend_hash_keys[i].ustr.u = in MYSQLND_METHOD()
385 eustrndup(new_meta->zend_hash_keys[i].ustr.u, new_meta->zend_hash_keys[i].ulen); in MYSQLND_METHOD()
386 if (!new_meta->zend_hash_keys[i].ustr.u) { in MYSQLND_METHOD()
392 new_meta->current_field = 0; in MYSQLND_METHOD()
393 new_meta->field_count = meta->field_count; in MYSQLND_METHOD()
395 new_meta->fields = new_fields; in MYSQLND_METHOD()
397 DBG_RETURN(new_meta); in MYSQLND_METHOD()
399 if (new_meta) { in MYSQLND_METHOD()
400 new_meta->m->free_metadata(new_meta TSRMLS_CC); in MYSQLND_METHOD()
401 new_meta = NULL; in MYSQLND_METHOD()