1
0
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:
marko
2007-02-08 12:03:03 +00:00
parent bedc6a976b
commit 76fa1cfbdd
3 changed files with 112 additions and 47 deletions

View File

@@ -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 */