Lines Matching refs:result

34 …THOD(mysqlnd_result_buffered_zval, initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result,  in MYSQLND_METHOD()
41 const uint64_t row_count = result->row_count; in MYSQLND_METHOD()
43 zval *data_begin = ((MYSQLND_RES_BUFFERED_ZVAL *) result)->data; in MYSQLND_METHOD()
48 if (!data_cursor || row_count == result->initialized_rows) { in MYSQLND_METHOD()
55 enum_func_status rc = result->m.row_decoder(result->row_buffers[current_row_num], in MYSQLND_METHOD()
65 ++result->initialized_rows; in MYSQLND_METHOD()
89 …_METHOD(mysqlnd_result_buffered_c, initialize_result_set_rest)(MYSQLND_RES_BUFFERED * const result, in MYSQLND_METHOD()
97 const uint64_t row_count = result->row_count; in MYSQLND_METHOD()
101 if (result->initialized_rows < row_count) { in MYSQLND_METHOD()
102 zend_uchar * initialized = ((MYSQLND_RES_BUFFERED_C *) result)->initialized; in MYSQLND_METHOD()
109 for (i = 0; i < result->row_count; i++) { in MYSQLND_METHOD()
115 …rc = result->m.row_decoder(result->row_buffers[i], current_row, field_count, meta->fields, int_and… in MYSQLND_METHOD()
121 result->initialized_rows++; in MYSQLND_METHOD()
181 MYSQLND_METHOD(mysqlnd_result_unbuffered, free_result)(MYSQLND_RES_UNBUFFERED * const result, MYSQL… in MYSQLND_METHOD()
184 result->m.free_last_data(result, global_stats); in MYSQLND_METHOD()
186 if (result->lengths) { in MYSQLND_METHOD()
187 mnd_pefree(result->lengths, result->persistent); in MYSQLND_METHOD()
188 result->lengths = NULL; in MYSQLND_METHOD()
192 if (result->row_packet) { in MYSQLND_METHOD()
193 PACKET_FREE(result->row_packet); in MYSQLND_METHOD()
194 result->row_packet = NULL; in MYSQLND_METHOD()
197 if (result->result_set_memory_pool) { in MYSQLND_METHOD()
198 mysqlnd_mempool_destroy(result->result_set_memory_pool); in MYSQLND_METHOD()
199 result->result_set_memory_pool = NULL; in MYSQLND_METHOD()
203 mnd_pefree(result, result->persistent); in MYSQLND_METHOD()
302 MYSQLND_METHOD(mysqlnd_res, free_result_buffers)(MYSQLND_RES * result) in MYSQLND_METHOD()
305 DBG_INF_FMT("%s", result->unbuf? "unbuffered":(result->stored_data? "buffered":"unknown")); in MYSQLND_METHOD()
307 if (result->unbuf) { in MYSQLND_METHOD()
308 result->unbuf->m.free_result(result->unbuf, result->conn? result->conn->stats : NULL); in MYSQLND_METHOD()
309 result->unbuf = NULL; in MYSQLND_METHOD()
310 } else if (result->stored_data) { in MYSQLND_METHOD()
311 result->stored_data->m.free_result(result->stored_data); in MYSQLND_METHOD()
312 result->stored_data = NULL; in MYSQLND_METHOD()
322 void MYSQLND_METHOD(mysqlnd_res, free_result_contents_internal)(MYSQLND_RES * result) in MYSQLND_METHOD()
326 result->m.free_result_buffers(result); in MYSQLND_METHOD()
328 if (result->meta) { in MYSQLND_METHOD()
329 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
330 result->meta = NULL; in MYSQLND_METHOD()
340 void MYSQLND_METHOD(mysqlnd_res, free_result_internal)(MYSQLND_RES * result) in MYSQLND_METHOD()
343 result->m.skip_result(result); in MYSQLND_METHOD()
345 result->m.free_result_contents(result); in MYSQLND_METHOD()
347 if (result->conn) { in MYSQLND_METHOD()
348 result->conn->m->free_reference(result->conn); in MYSQLND_METHOD()
349 result->conn = NULL; in MYSQLND_METHOD()
352 mnd_pefree(result, result->persistent); in MYSQLND_METHOD()
361 MYSQLND_METHOD(mysqlnd_res, read_result_metadata)(MYSQLND_RES * result, MYSQLND_CONN_DATA * conn) in MYSQLND_METHOD()
371 if (result->meta) { in MYSQLND_METHOD()
372 result->meta->m->free_metadata(result->meta); in MYSQLND_METHOD()
373 result->meta = NULL; in MYSQLND_METHOD()
376 result->meta = result->m.result_meta_init(result->field_count, result->persistent); in MYSQLND_METHOD()
377 if (!result->meta) { in MYSQLND_METHOD()
385 if (FAIL == result->meta->m->read_metadata(result->meta, conn)) { in MYSQLND_METHOD()
386 result->m.free_result_contents(result); in MYSQLND_METHOD()
390 result->field_count = result->meta->field_count; in MYSQLND_METHOD()
491 MYSQLND_RES * result; in mysqlnd_query_read_result_set_header() local
507 result = conn->current_result = conn->m->result_init(rset_header->field_count, persistent); in mysqlnd_query_read_result_set_header()
509 if (!stmt->result) { in mysqlnd_query_read_result_set_header()
516 result = stmt->result = conn->m->result_init(rset_header->field_count, stmt->persistent); in mysqlnd_query_read_result_set_header()
531 result = stmt->result; in mysqlnd_query_read_result_set_header()
533 if (!result) { in mysqlnd_query_read_result_set_header()
539 if (FAIL == (ret = result->m.read_result_metadata(result, conn))) { in mysqlnd_query_read_result_set_header()
558 result->m.free_result_contents(result); in mysqlnd_query_read_result_set_header()
559 mnd_efree(result); in mysqlnd_query_read_result_set_header()
563 stmt->result = NULL; in mysqlnd_query_read_result_set_header()
613 MYSQLND_METHOD(mysqlnd_result_buffered_zval, fetch_lengths)(MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD()
615 const MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result; in MYSQLND_METHOD()
626 ((set->data_cursor - set->data) > (result->row_count * result->field_count) )) in MYSQLND_METHOD()
632 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
645 MYSQLND_METHOD(mysqlnd_result_buffered_c, fetch_lengths)(MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD()
647 const MYSQLND_RES_BUFFERED_C * set = (MYSQLND_RES_BUFFERED_C *) result; in MYSQLND_METHOD()
655 DBG_RETURN(result->lengths); in MYSQLND_METHOD()
662 MYSQLND_METHOD(mysqlnd_result_unbuffered, fetch_lengths)(MYSQLND_RES_UNBUFFERED * const result) in MYSQLND_METHOD()
665 return (result->last_row_data || result->eof_reached)? result->lengths : NULL; in MYSQLND_METHOD()
672 MYSQLND_METHOD(mysqlnd_res, fetch_lengths)(MYSQLND_RES * const result) in MYSQLND_METHOD()
676 ret = result->stored_data && result->stored_data->m.fetch_lengths ? in MYSQLND_METHOD()
677 result->stored_data->m.fetch_lengths(result->stored_data) : in MYSQLND_METHOD()
678 (result->unbuf && result->unbuf->m.fetch_lengths ? in MYSQLND_METHOD()
679 result->unbuf->m.fetch_lengths(result->unbuf) : in MYSQLND_METHOD()
689 MYSQLND_METHOD(mysqlnd_result_unbuffered, fetch_row_c)(MYSQLND_RES * result, void * param, unsigned… in MYSQLND_METHOD()
693 MYSQLND_PACKET_ROW *row_packet = result->unbuf->row_packet; in MYSQLND_METHOD()
694 MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
695 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
700 if (result->unbuf->eof_reached) { in MYSQLND_METHOD()
720 result->unbuf->m.free_last_data(result->unbuf, conn->stats); in MYSQLND_METHOD()
722 result->unbuf->last_row_data = row_packet->fields; in MYSQLND_METHOD()
723 result->unbuf->last_row_buffer = row_packet->row_buffer; in MYSQLND_METHOD()
732 enum_func_status rc = result->unbuf->m.row_decoder(result->unbuf->last_row_buffer, in MYSQLND_METHOD()
733 result->unbuf->last_row_data, in MYSQLND_METHOD()
745 size_t * lengths = result->unbuf->lengths; in MYSQLND_METHOD()
748 zval * data = &result->unbuf->last_row_data[i]; in MYSQLND_METHOD()
773 result->unbuf->row_count++; in MYSQLND_METHOD()
781 result->unbuf->eof_reached = TRUE; /* so next time we won't get an error */ in MYSQLND_METHOD()
785 result->unbuf->eof_reached = TRUE; in MYSQLND_METHOD()
799 result->unbuf->m.free_last_data(result->unbuf, conn->stats); in MYSQLND_METHOD()
810 MYSQLND_METHOD(mysqlnd_result_unbuffered, fetch_row)(MYSQLND_RES * result, void * param, const unsi… in MYSQLND_METHOD()
814 MYSQLND_PACKET_ROW *row_packet = result->unbuf->row_packet; in MYSQLND_METHOD()
815 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
816 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
821 if (result->unbuf->eof_reached) { in MYSQLND_METHOD()
841 result->unbuf->m.free_last_data(result->unbuf, conn->stats); in MYSQLND_METHOD()
843 result->unbuf->last_row_data = row_packet->fields; in MYSQLND_METHOD()
844 result->unbuf->last_row_buffer = row_packet->row_buffer; in MYSQLND_METHOD()
853 enum_func_status rc = result->unbuf->m.row_decoder(result->unbuf->last_row_buffer, in MYSQLND_METHOD()
854 result->unbuf->last_row_data, in MYSQLND_METHOD()
865 size_t * lengths = result->unbuf->lengths; in MYSQLND_METHOD()
868 zval * data = &result->unbuf->last_row_data[i]; in MYSQLND_METHOD()
901 result->unbuf->row_count++; in MYSQLND_METHOD()
909 result->unbuf->eof_reached = TRUE; /* so next time we won't get an error */ in MYSQLND_METHOD()
913 result->unbuf->eof_reached = TRUE; in MYSQLND_METHOD()
927 result->unbuf->m.free_last_data(result->unbuf, conn->stats); in MYSQLND_METHOD()
938 MYSQLND_METHOD(mysqlnd_res, use_result)(MYSQLND_RES * const result, const zend_bool ps) in MYSQLND_METHOD()
940 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
946 result->type = MYSQLND_RES_NORMAL; in MYSQLND_METHOD()
948 result->type = MYSQLND_RES_PS_UNBUF; in MYSQLND_METHOD()
951 result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, ps, result->persistent); in MYSQLND_METHOD()
952 if (!result->unbuf) { in MYSQLND_METHOD()
967 row_packet->result_set_memory_pool = result->unbuf->result_set_memory_pool; in MYSQLND_METHOD()
968 row_packet->field_count = result->field_count; in MYSQLND_METHOD()
970 row_packet->fields_metadata = result->meta->fields; in MYSQLND_METHOD()
972 result->unbuf->row_packet = row_packet; in MYSQLND_METHOD()
975 DBG_RETURN(result); in MYSQLND_METHOD()
985 MYSQLND_METHOD(mysqlnd_result_buffered, fetch_row_c)(MYSQLND_RES * result, void * param, unsigned i… in MYSQLND_METHOD()
989 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
991 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
994 if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) { in MYSQLND_METHOD()
995 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result->stored_data; in MYSQLND_METHOD()
999 (set->data_cursor - set->data) < (result->stored_data->row_count * field_count)) in MYSQLND_METHOD()
1062 } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_C) { in MYSQLND_METHOD()
1078 MYSQLND_METHOD(mysqlnd_result_buffered_zval, fetch_row)(MYSQLND_RES * result, void * param, const u… in MYSQLND_METHOD()
1082 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
1084 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result->stored_data; in MYSQLND_METHOD()
1085 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1164 MYSQLND_METHOD(mysqlnd_result_buffered_c, fetch_row)(MYSQLND_RES * result, void * param, const unsi… in MYSQLND_METHOD()
1168 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
1170 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1172 MYSQLND_RES_BUFFERED_C * set = (MYSQLND_RES_BUFFERED_C *) result->stored_data; in MYSQLND_METHOD()
1188 rc = result->stored_data->m.row_decoder(result->stored_data->row_buffers[set->current_row], in MYSQLND_METHOD()
1271 MYSQLND_METHOD(mysqlnd_res, fetch_row)(MYSQLND_RES * result, void * param, const unsigned int flags… in MYSQLND_METHOD()
1273 …const mysqlnd_fetch_row_func f = result->stored_data? result->stored_data->m.fetch_row:(result->un… in MYSQLND_METHOD()
1275 return f(result, param, flags, fetched_anything); in MYSQLND_METHOD()
1287 …_METHOD(mysqlnd_res, store_result_fetch_data)(MYSQLND_CONN_DATA * const conn, MYSQLND_RES * result, in MYSQLND_METHOD()
1294 MYSQLND_RES_BUFFERED * set = result->stored_data; in MYSQLND_METHOD()
1319 row_packet->result_set_memory_pool = result->stored_data->result_set_memory_pool; in MYSQLND_METHOD()
1404 DBG_INF_FMT("rows=%llu", (unsigned long long)result->stored_data->row_count); in MYSQLND_METHOD()
1412 MYSQLND_METHOD(mysqlnd_res, store_result)(MYSQLND_RES * result, in MYSQLND_METHOD()
1423 result->conn = conn->m->get_reference(conn); in MYSQLND_METHOD()
1424 result->type = MYSQLND_RES_NORMAL; in MYSQLND_METHOD()
1429result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_cou… in MYSQLND_METHOD()
1430 if (!result->stored_data) { in MYSQLND_METHOD()
1434 row_buffers = &result->stored_data->row_buffers; in MYSQLND_METHOD()
1436result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_c_init(result->field_count,… in MYSQLND_METHOD()
1437 if (!result->stored_data) { in MYSQLND_METHOD()
1441 row_buffers = &result->stored_data->row_buffers; in MYSQLND_METHOD()
1443 …ret = result->m.store_result_fetch_data(conn, result, result->meta, row_buffers, flags & MYSQLND_S… in MYSQLND_METHOD()
1446 if (result->stored_data) { in MYSQLND_METHOD()
1447 COPY_CLIENT_ERROR(conn->error_info, result->stored_data->error_info); in MYSQLND_METHOD()
1454 const MYSQLND_RES_METADATA * const meta = result->meta; in MYSQLND_METHOD()
1455 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result->stored_data; in MYSQLND_METHOD()
1474 MYSQLND_RES_BUFFERED_C * set = (MYSQLND_RES_BUFFERED_C *) result->stored_data; in MYSQLND_METHOD()
1481 UPSERT_STATUS_SET_AFFECTED_ROWS(conn->upsert_status, result->stored_data->row_count); in MYSQLND_METHOD()
1483 DBG_RETURN(result); in MYSQLND_METHOD()
1490 MYSQLND_METHOD(mysqlnd_res, skip_result)(MYSQLND_RES * const result) in MYSQLND_METHOD()
1500 if (result->unbuf && !result->unbuf->eof_reached) { in MYSQLND_METHOD()
1501 MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1505 result->type == MYSQLND_RES_NORMAL? STAT_FLUSHED_NORMAL_SETS: in MYSQLND_METHOD()
1508 …while ((PASS == result->m.fetch_row(result, NULL, 0, &fetched_anything)) && fetched_anything == TR… in MYSQLND_METHOD()
1519 MYSQLND_METHOD(mysqlnd_res, free_result)(MYSQLND_RES * result, const zend_bool implicit) in MYSQLND_METHOD()
1523 MYSQLND_INC_CONN_STATISTIC(result->conn? result->conn->stats : NULL, in MYSQLND_METHOD()
1527 result->m.free_result_internal(result); in MYSQLND_METHOD()
1535 MYSQLND_METHOD(mysqlnd_res, data_seek)(MYSQLND_RES * const result, const uint64_t row) in MYSQLND_METHOD()
1540 DBG_RETURN(result->stored_data? result->stored_data->m.data_seek(result->stored_data, row) : FAIL); in MYSQLND_METHOD()
1547 MYSQLND_METHOD(mysqlnd_result_buffered_zval, data_seek)(MYSQLND_RES_BUFFERED * const result, const … in MYSQLND_METHOD()
1549 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result; in MYSQLND_METHOD()
1556 set->data_cursor = set->data + row * result->field_count; in MYSQLND_METHOD()
1565 MYSQLND_METHOD(mysqlnd_result_buffered_c, data_seek)(MYSQLND_RES_BUFFERED * const result, const uin… in MYSQLND_METHOD()
1567 MYSQLND_RES_BUFFERED_C * set = (MYSQLND_RES_BUFFERED_C *) result; in MYSQLND_METHOD()
1583 MYSQLND_METHOD(mysqlnd_result_unbuffered, num_rows)(const MYSQLND_RES_UNBUFFERED * const result) in MYSQLND_METHOD()
1586 return result->eof_reached? result->row_count : 0; in MYSQLND_METHOD()
1593 MYSQLND_METHOD(mysqlnd_result_buffered, num_rows)(const MYSQLND_RES_BUFFERED * const result) in MYSQLND_METHOD()
1595 return result->row_count; in MYSQLND_METHOD()
1602 MYSQLND_METHOD(mysqlnd_res, num_rows)(const MYSQLND_RES * const result) in MYSQLND_METHOD()
1604 return result->stored_data? in MYSQLND_METHOD()
1605 result->stored_data->m.num_rows(result->stored_data) : in MYSQLND_METHOD()
1606 (result->unbuf? result->unbuf->m.num_rows(result->unbuf) : 0); in MYSQLND_METHOD()
1613 MYSQLND_METHOD(mysqlnd_res, num_fields)(const MYSQLND_RES * const result) in MYSQLND_METHOD()
1615 return result->field_count; in MYSQLND_METHOD()
1622 MYSQLND_METHOD(mysqlnd_res, fetch_field)(MYSQLND_RES * const result) in MYSQLND_METHOD()
1626 if (result->meta) { in MYSQLND_METHOD()
1637 …if (result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count… in MYSQLND_METHOD()
1638 const MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1641 if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, in MYSQLND_METHOD()
1642 result->meta, in MYSQLND_METHOD()
1649 DBG_RETURN(result->meta->m->fetch_field(result->meta)); in MYSQLND_METHOD()
1659 MYSQLND_METHOD(mysqlnd_res, fetch_field_direct)(MYSQLND_RES * const result, const MYSQLND_FIELD_OFF… in MYSQLND_METHOD()
1663 if (result->meta) { in MYSQLND_METHOD()
1674 …if (result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count… in MYSQLND_METHOD()
1675 const MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1678 if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, in MYSQLND_METHOD()
1679 result->meta, in MYSQLND_METHOD()
1686 DBG_RETURN(result->meta->m->fetch_field_direct(result->meta, fieldnr)); in MYSQLND_METHOD()
1697 MYSQLND_METHOD(mysqlnd_res, fetch_fields)(MYSQLND_RES * const result) in MYSQLND_METHOD()
1701 if (result->meta) { in MYSQLND_METHOD()
1702 …if (result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count… in MYSQLND_METHOD()
1703 const MYSQLND_CONN_DATA * const conn = result->conn; in MYSQLND_METHOD()
1705 if (PASS != result->stored_data->m.initialize_result_set_rest(result->stored_data, in MYSQLND_METHOD()
1706 result->meta, in MYSQLND_METHOD()
1713 DBG_RETURN(result->meta->m->fetch_fields(result->meta)); in MYSQLND_METHOD()
1723 MYSQLND_METHOD(mysqlnd_res, field_seek)(MYSQLND_RES * const result, const MYSQLND_FIELD_OFFSET fiel… in MYSQLND_METHOD()
1725 return result->meta? result->meta->m->field_seek(result->meta, field_offset) : 0; in MYSQLND_METHOD()
1732 MYSQLND_METHOD(mysqlnd_res, field_tell)(const MYSQLND_RES * const result) in MYSQLND_METHOD()
1734 return result->meta? result->meta->m->field_tell(result->meta) : 0; in MYSQLND_METHOD()
1741 MYSQLND_METHOD(mysqlnd_res, fetch_into)(MYSQLND_RES * result, const unsigned int flags, in MYSQLND_METHOD()
1753 array_init_size(return_value, mysqlnd_num_fields(result) * 2); in MYSQLND_METHOD()
1754 if (FAIL == result->m.fetch_row(result, (void *)return_value, flags, &fetched_anything)) { in MYSQLND_METHOD()
1781 MYSQLND_METHOD(mysqlnd_res, fetch_row_c)(MYSQLND_RES * result) in MYSQLND_METHOD()
1787 …if (result->stored_data && result->stored_data->m.fetch_row == MYSQLND_METHOD(mysqlnd_result_buffe… in MYSQLND_METHOD()
1788 MYSQLND_METHOD(mysqlnd_result_buffered, fetch_row_c)(result, (void *) &ret, 0, &fetched_anything); in MYSQLND_METHOD()
1789 …} else if (result->unbuf && result->unbuf->m.fetch_row == MYSQLND_METHOD(mysqlnd_result_unbuffered… in MYSQLND_METHOD()
1790 …MYSQLND_METHOD(mysqlnd_result_unbuffered, fetch_row_c)(result, (void *) &ret, 0, &fetched_anything… in MYSQLND_METHOD()
1802 MYSQLND_METHOD(mysqlnd_res, fetch_all)(MYSQLND_RES * result, const unsigned int flags, zval *return… in MYSQLND_METHOD()
1806 MYSQLND_RES_BUFFERED *set = result->stored_data; in MYSQLND_METHOD()
1810 if ((!result->unbuf && !set)) { in MYSQLND_METHOD()
1812 if (result->conn) { in MYSQLND_METHOD()
1813 …SET_CLIENT_ERROR(result->conn->error_info, CR_NOT_IMPLEMENTED, UNKNOWN_SQLSTATE, "fetch_all can be… in MYSQLND_METHOD()
1823 mysqlnd_fetch_into(result, flags, &row, MYSQLND_MYSQLI); in MYSQLND_METHOD()
1838 MYSQLND_METHOD(mysqlnd_res, fetch_field_data)(MYSQLND_RES * result, unsigned int offset, zval *retu… in MYSQLND_METHOD()
1850 mysqlnd_fetch_into(result, MYSQLND_FETCH_NUM, &row, MYSQLND_MYSQL); in MYSQLND_METHOD()