Lines Matching refs:stored_data
85 …result->stored_data = (MYSQLND_RES_BUFFERED *) mysqlnd_result_buffered_zval_init(result->field_cou… in MYSQLND_METHOD()
86 if (!result->stored_data) { in MYSQLND_METHOD()
91 …ret = result->m.store_result_fetch_data(conn, result, result->meta, &result->stored_data->row_buff… in MYSQLND_METHOD()
93 result->stored_data->m.fetch_row = mysqlnd_stmt_fetch_row_buffered; in MYSQLND_METHOD()
96 if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) { in MYSQLND_METHOD()
97 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result->stored_data; in MYSQLND_METHOD()
98 if (result->stored_data->row_count) { in MYSQLND_METHOD()
100 if (result->stored_data->row_count * result->meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
105 …set->data = mnd_emalloc((size_t)(result->stored_data->row_count * result->meta->field_count * size… in MYSQLND_METHOD()
110 …memset(set->data, 0, (size_t)(result->stored_data->row_count * result->meta->field_count * sizeof(… in MYSQLND_METHOD()
114 } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) { in MYSQLND_METHOD()
119 UPSERT_STATUS_SET_AFFECTED_ROWS(stmt->upsert_status, stmt->result->stored_data->row_count); in MYSQLND_METHOD()
123 COPY_CLIENT_ERROR(conn->error_info, result->stored_data->error_info); in MYSQLND_METHOD()
183 UPSERT_STATUS_SET_AFFECTED_ROWS(stmt->upsert_status, result->stored_data->row_count); in MYSQLND_METHOD()
553 if (stmt->result->stored_data) { in mysqlnd_stmt_execute_parse_response()
554 stmt->result->stored_data->lengths = NULL; in mysqlnd_stmt_execute_parse_response()
772 if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) { in mysqlnd_stmt_fetch_row_buffered()
773 MYSQLND_RES_BUFFERED_ZVAL * set = (MYSQLND_RES_BUFFERED_ZVAL *) result->stored_data; in mysqlnd_stmt_fetch_row_buffered()
775 (set->data_cursor - set->data) < (result->stored_data->row_count * field_count)) in mysqlnd_stmt_fetch_row_buffered()
784 …enum_func_status rc = result->stored_data->m.row_decoder(result->stored_data->row_buffers[row_num], in mysqlnd_stmt_fetch_row_buffered()
793 result->stored_data->initialized_rows++; in mysqlnd_stmt_fetch_row_buffered()
850 } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_C) { in mysqlnd_stmt_fetch_row_buffered()
1857 if (stmt->update_max_length && stmt->result->stored_data) { in MYSQLND_METHOD()
1859 stmt->result->stored_data->m.initialize_result_set_rest(stmt->result->stored_data, in MYSQLND_METHOD()