mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
branches/zip: buf_page_init_for_read(): Do not allocate an uncompressed page
frame when reading compressed pages, unless crash recovery is in progress. buf_page_read_low(): Adapt for buf_page_init_for_read() returning buf_page_t* instead of buf_block_t*.
This commit is contained in:
@@ -869,7 +869,7 @@ Sets the io_fix flag to BUF_IO_READ and sets a non-recursive exclusive lock
|
||||
on the buffer frame. The io-handler must take care that the flag is cleared
|
||||
and the lock released later. */
|
||||
|
||||
buf_block_t*
|
||||
buf_page_t*
|
||||
buf_page_init_for_read(
|
||||
/*===================*/
|
||||
/* out: pointer to the block or NULL */
|
||||
|
||||
Reference in New Issue
Block a user