mirror of
https://github.com/MariaDB/server.git
synced 2025-12-15 08:21:24 +03:00
branches/zip: buf_flush_write_block_low(): Avoid recomputing the compressed
page checksum of compressed-only blocks. Pass the compressed page frame to fil_io() when needed. page_zip_calc_checksum(): Skip also FIL_PAGE_LSN and FIL_PAGE_FILE_FLUSH_LSN. buf_flush_init_for_writing(): Expect page to be non-NULL.
This commit is contained in:
@@ -48,8 +48,7 @@ Initializes a page for writing to the tablespace. */
|
||||
void
|
||||
buf_flush_init_for_writing(
|
||||
/*=======================*/
|
||||
byte* page, /* in/out: page, may be NULL
|
||||
if page_zip_ is non-NULL */
|
||||
byte* page, /* in/out: page */
|
||||
void* page_zip_, /* in/out: compressed page, or NULL */
|
||||
ib_uint64_t newest_lsn); /* in: newest modification lsn
|
||||
to the page */
|
||||
|
||||
Reference in New Issue
Block a user