![]() |
MySQL 8.0.43
Source Code Documentation
|
The interface to the operating system file i/o primitives. More...
#include "buf0checksum.h"#include "db0err.h"#include "fil0fil.h"#include "mach0data.h"#include "os0file.h"#include "univ.i"#include <lz4.h>#include <zlib.h>Functions | |
| dberr_t | os_file_decompress_page (bool dblwr_read, byte *src, byte *dst, ulint dst_len) |
| Decompress the page data contents. More... | |
The interface to the operating system file i/o primitives.
Created 10/21/1995 Heikki Tuuri
Decompress the page data contents.
Page type must be FIL_PAGE_COMPRESSED, if not then the source contents are left unchanged and DB_SUCCESS is returned.
| [in] | dblwr_read | true of double write recovery in progress |
| [in,out] | src | Data read from disk, decompressed data will be copied to this page |
| [in,out] | dst | Scratch area to use for decompression or nullptr. |
| [in] | dst_len | If dst is valid, then size of the scratch area in bytes |