Home
last modified time | relevance | path

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

/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_result.c627 uint64_t total_allocated_rows = 0; in MYSQLND_METHOD() local
652 if (total_allocated_rows < 1024) { in MYSQLND_METHOD()
653 if (total_allocated_rows == 0) { in MYSQLND_METHOD()
655 total_allocated_rows = 1; in MYSQLND_METHOD()
657 free_rows = total_allocated_rows; in MYSQLND_METHOD()
658 total_allocated_rows *= 2; in MYSQLND_METHOD()
662 total_allocated_rows += 1024; in MYSQLND_METHOD()
666 if (total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER) > SIZE_MAX) { in MYSQLND_METHOD()
672 …new_row_buffers = mnd_erealloc(*row_buffers, (size_t)(total_allocated_rows * sizeof(MYSQLND_ROW_BU… in MYSQLND_METHOD()
674 new_row_buffers = mnd_emalloc((size_t)(total_allocated_rows * sizeof(MYSQLND_ROW_BUFFER))); in MYSQLND_METHOD()

Completed in 5 milliseconds