/******************************************************************//**
@file include/fil0pagecompress.h
Helper functions for extracting/storing page compression and
atomic writes information to table space.
Created 11/12/2013 Jan Lindström jan.lindstrom@skysql.com
***********************************************************************/
/** Compress a page_compressed page before writing to a data file. @param[in]bufpagetobecompressed @param[out]out_bufcompressedpage @param[in]flagstablespaceflags @param[in]block_sizefilesystemblocksize @param[in]encryptedwhetherthepagewillbesubsequentlyencrypted @returnactuallengthofcompressedpage
@retval 0 if the page was not compressed */
ulint fil_page_compress( const byte* buf,
byte* out_buf,
uint32_t flags,
ulint block_size, bool encrypted)
MY_ATTRIBUTE((nonnull, warn_unused_result));
/** Decompress a page that may be subject to page_compressed compression. @param[in,out]tmp_buftemporarybuffer(ofinnodb_page_size) @param[in,out]bufcompressedpagebuffer @param[in]flagstablespaceflags @returnsizeofthecompresseddata @retval0ifdecompressionfailed
@retval srv_page_size if the page was not compressed */
ulint fil_page_decompress(byte *tmp_buf, byte *buf, uint32_t flags)
MY_ATTRIBUTE((nonnull, warn_unused_result)); #endif
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.