Lines Matching refs:row_count
41 const uint64_t row_count = result->row_count; in MYSQLND_METHOD() local
48 if (!data_cursor || row_count == result->initialized_rows) { in MYSQLND_METHOD()
51 while ((data_cursor - data_begin) < (int)(row_count * field_count)) { in MYSQLND_METHOD()
97 const uint64_t row_count = result->row_count; in MYSQLND_METHOD() local
101 if (result->initialized_rows < row_count) { in MYSQLND_METHOD()
109 for (row = 0; row < result->row_count; row++) { in MYSQLND_METHOD()
211 for (row = set->row_count - 1; row >= 0; row--) { in MYSQLND_METHOD()
247 DBG_INF_FMT("Freeing "PRIu64" row(s)", set->row_count); in MYSQLND_METHOD()
586 ((set->data_cursor - set->data) > (result->row_count * result->field_count) )) in MYSQLND_METHOD()
610 if (set->current_row > set->row_count || set->current_row == 0) { in MYSQLND_METHOD()
739 result->unbuf->row_count++; in MYSQLND_METHOD()
879 result->unbuf->row_count++; in MYSQLND_METHOD()
981 (set->data_cursor - set->data) < (result->stored_data->row_count * field_count)) in MYSQLND_METHOD()
1072 if (set->data_cursor && (set->data_cursor - set->data) < (set->row_count * field_count)) { in MYSQLND_METHOD()
1160 if (set->current_row < set->row_count) { in MYSQLND_METHOD()
1239 if (set->current_row == set->row_count) { in MYSQLND_METHOD()
1240 set->current_row = set->row_count + 1; in MYSQLND_METHOD()
1334 (*row_buffers)[set->row_count] = row_packet.row_buffer; in MYSQLND_METHOD()
1336 set->row_count++; in MYSQLND_METHOD()
1353 set->row_count); in MYSQLND_METHOD()
1372 if (set->row_count * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
1377 *row_buffers = mnd_erealloc(*row_buffers, (size_t) (set->row_count * sizeof(MYSQLND_ROW_BUFFER))); in MYSQLND_METHOD()
1390 UPSERT_STATUS_SET_AFFECTED_ROWS(conn->upsert_status, set->row_count); in MYSQLND_METHOD()
1394 (uint32_t) set->row_count, in MYSQLND_METHOD()
1400 DBG_INF_FMT("rows=%llu", (unsigned long long)result->stored_data->row_count); in MYSQLND_METHOD()
1453 if (set->row_count) { in MYSQLND_METHOD()
1455 if (set->row_count * meta->field_count * sizeof(zval *) > SIZE_MAX) { in MYSQLND_METHOD()
1460 set->data = mnd_emalloc((size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1465 memset(set->data, 0, (size_t)(set->row_count * meta->field_count * sizeof(zval))); in MYSQLND_METHOD()
1472 …set->initialized = mnd_ecalloc((unsigned int) ((set->row_count / 8) + 1), sizeof(zend_uchar)); /* … in MYSQLND_METHOD()
1477 UPSERT_STATUS_SET_AFFECTED_ROWS(conn->upsert_status, result->stored_data->row_count); in MYSQLND_METHOD()
1549 if (row >= set->row_count) { in MYSQLND_METHOD()
1567 if (row >= set->row_count) { in MYSQLND_METHOD()
1568 set->current_row = set->row_count; in MYSQLND_METHOD()
1582 return result->eof_reached? result->row_count : 0; in MYSQLND_METHOD()
1591 return result->row_count; in MYSQLND_METHOD()
1633 …(result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count)) { in MYSQLND_METHOD()
1670 …(result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count)) { in MYSQLND_METHOD()
1698 …(result->stored_data && (result->stored_data->initialized_rows < result->stored_data->row_count)) { in MYSQLND_METHOD()
1820 array_init_size(return_value, set? (unsigned int) set->row_count : 4); in MYSQLND_METHOD()