MySQL 8.0.40
Source Code Documentation
|
Compressed page interface. More...
#include "btr0types.h"
#include "fil0types.h"
#include "page0types.h"
#include "page/page.ic"
#include "page/zipdecompress.ic"
Go to the source code of this file.
Functions | |
bool | page_zip_decompress_low (page_zip_des_t *page_zip, page_t *page, bool all) |
NOTE: The functions in this file should only use functions from other files in library. More... | |
Compressed page interface.
Created June 2005 by Marko Makela
bool page_zip_decompress_low | ( | page_zip_des_t * | page_zip, |
page_t * | page, | ||
bool | all | ||
) |
NOTE: The functions in this file should only use functions from other files in library.
The code in this file is used to make a library for external tools. Decompress a page. This function should tolerate errors on the compressed page. Instead of letting assertions fail, it will return false if an inconsistency is detected.
NOTE: The functions in this file should only use functions from other files in library.
This function should tolerate errors on the compressed page. Instead of letting assertions fail, it will return false if an inconsistency is detected.
< dense page directory, sorted by address
page_zip | in: data, ssize; out: m_start, m_end, m_nonempty, n_blobs |
page | out: uncompressed page, may be trashed |
all | in: true=decompress the whole page; false=verify but do not copy some page header fields that should not change after page creation |