mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
branches/zip: Introduce buf_page_t, a common structure for compressed-only
and uncompressed buffer pool pages. buf_block_t: Replace page_zip, space, and offset with buf_page_t page. Replace some integers with bit-fields. enum buf_block_state: Rename to buf_page_state. Add BUF_BLOCK_ZIP_PAGE. page_zip_des_t: Add the field "state". Make the integer fields bit-fields. page_zip_copy(): Document which fields are copied.
This commit is contained in:
@@ -348,7 +348,9 @@ Copy a page byte for byte, except for the file page header and trailer. */
|
||||
void
|
||||
page_zip_copy(
|
||||
/*==========*/
|
||||
page_zip_des_t* page_zip, /* out: copy of src_zip */
|
||||
page_zip_des_t* page_zip, /* out: copy of src_zip
|
||||
(n_blobs, m_start, m_end,
|
||||
data[0..size-1]) */
|
||||
page_t* page, /* out: copy of src */
|
||||
const page_zip_des_t* src_zip, /* in: compressed page */
|
||||
const page_t* src, /* in: page */
|
||||
|
||||
Reference in New Issue
Block a user