mariadb/buf
marko 329c469e70 branches/zip: Do not decompress blocks in buf_page_init_for_read(),
but in buf_page_get_gen().  Adjust comments.  This prevents
unnecessary decompression in read-ahead when the compressed block
exists in the buffer pool.

If the block does not exist in the buffer pool, read-ahead will still
allocate an uncompressed page and decompress the block.

Move buf_block_init_low() and buf_zip_decompress() earlier in the file,
because some compilers are unable to inline functions that are defined
after the invocation.

buf_page_get_gen(): Decompress the block if needed.

buf_page_init_for_read(): Do not decompress.
2007-02-07 13:59:43 +00:00
..
buf0buddy.c branches/zip: buf_page_t: Add the in_page_hash and in_zip_hash 2007-01-24 10:36:05 +00:00
buf0buf.c branches/zip: Do not decompress blocks in buf_page_init_for_read(), 2007-02-07 13:59:43 +00:00
buf0flu.c branches/zip: buf_page_t: Add the in_page_hash and in_zip_hash 2007-01-24 10:36:05 +00:00
buf0lru.c branches/zip: Do not decompress blocks in buf_page_init_for_read(), 2007-02-07 13:59:43 +00:00
buf0rea.c branches/zip: buf_page_io_complete(): Change the parameter type from 2007-01-10 14:36:39 +00:00
Makefile.am branches/zip: Merge revisions 1165:1206 from trunk. 2007-01-18 12:58:39 +00:00