Home
last modified time | relevance | path

Searched refs:total_allocated_rows (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_result.c629 uint64_t total_allocated_rows = 0; in MYSQLND_METHOD() local
654 if (total_allocated_rows < 1024) { in MYSQLND_METHOD()
655 if (total_allocated_rows == 0) { in MYSQLND_METHOD()
657 total_allocated_rows = 1; in MYSQLND_METHOD()
659 free_rows = total_allocated_rows; in MYSQLND_METHOD()
660 total_allocated_rows *= 2; in MYSQLND_METHOD()
664 total_allocated_rows += 1024; in MYSQLND_METHOD()
668 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
674 …new_row_buffers = mnd_erealloc(*row_buffers, (size_t)(total_allocated_rows * sizeof(MYSQLND_ROW_BU… in MYSQLND_METHOD()
676 new_row_buffers = mnd_emalloc((size_t)(total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER))); in MYSQLND_METHOD()

Completed in 7 milliseconds