30 #ifdef UNIV_MATERIALIZE
50 __attribute__((nonnull, pure));
60 #ifndef UNIV_HOTBACKUP
73 __attribute__((
const));
84 __attribute__((
const));
118 __attribute__((nonnull(1,2,3)));
136 __attribute__((nonnull(1,2)));
144 page_zip_simple_validate(
150 #ifdef UNIV_ZIP_DEBUG
156 page_zip_validate_low(
162 __attribute__((nonnull));
171 __attribute__((nonnull));
184 __attribute__((nonnull, pure));
198 __attribute__((nonnull, pure));
211 __attribute__((nonnull(1,2)));
223 const ulint* offsets,
225 __attribute__((nonnull));
250 const ulint* offsets,
254 __attribute__((nonnull(1,2,3,4)));
279 __attribute__((nonnull(1,2)));
289 const ulint* offsets,
293 __attribute__((nonnull));
303 const byte* prev_rec,
304 const byte* free_rec,
339 __attribute__((nonnull));
340 #ifndef UNIV_HOTBACKUP
358 __attribute__((nonnull));
372 __attribute__((nonnull(1,2)));
383 __attribute__((nonnull));
385 #ifndef UNIV_HOTBACKUP
390 # define PAGE_ZIP_MATCH(ptr, page_zip) \
391 (buf_frame_get_page_zip(ptr) == (page_zip))
397 # define PAGE_ZIP_MATCH(ptr, page_zip) \
398 (page_align(ptr) + UNIV_PAGE_SIZE == (page_zip)->data)
401 #ifdef UNIV_MATERIALIZE
403 # define UNIV_INLINE UNIV_INLINE_ORIGINAL
407 # include "page0zip.ic"
UNIV_INTERN void page_zip_dir_insert(page_zip_des_t *page_zip, const byte *prev_rec, const byte *free_rec, byte *rec)
UNIV_INTERN ibool UNIV_INTERN ibool page_zip_decompress(page_zip_des_t *page_zip, page_t *page, ibool all) __attribute__((nonnull(1
UNIV_INTERN void page_zip_write_blob_ptr(page_zip_des_t *page_zip, const byte *rec, dict_index_t *index, const ulint *offsets, ulint n, mtr_t *mtr) __attribute__((nonnull(1
UNIV_INTERN ibool page_zip_reorganize(buf_block_t *block, dict_index_t *index, mtr_t *mtr) __attribute__((nonnull))
UNIV_INTERN ibool page_zip_compress(page_zip_des_t *page_zip, const page_t *page, dict_index_t *index, mtr_t *mtr) __attribute__((nonnull(1
UNIV_INTERN void page_zip_write_node_ptr(page_zip_des_t *page_zip, byte *rec, ulint size, ulint ptr, mtr_t *mtr) __attribute__((nonnull(1
UNIV_INLINE void page_zip_des_init(page_zip_des_t *page_zip)
UNIV_INLINE ibool page_zip_available(const page_zip_des_t *page_zip, ibool is_clust, ulint length, ulint create) __attribute__((nonnull
UNIV_INTERN byte * page_zip_parse_write_header(byte *ptr, byte *end_ptr, page_t *page, page_zip_des_t *page_zip)
UNIV_INTERN void page_zip_set_alloc(void *stream, mem_heap_t *heap)
UNIV_INLINE void page_zip_write_header(page_zip_des_t *page_zip, const byte *str, ulint length, mtr_t *mtr) __attribute__((nonnull(1
UNIV_INTERN ibool UNIV_INTERN ibool UNIV_INLINE lint page_zip_max_ins_size(const page_zip_des_t *page_zip, ibool is_clust) __attribute__((nonnull
UNIV_INLINE ibool page_zip_rec_needs_ext(ulint rec_size, ulint comp, ulint n_fields, ulint zip_size) __attribute__((const ))
UNIV_INTERN void UNIV_INTERN void page_zip_write_trx_id_and_roll_ptr(page_zip_des_t *page_zip, byte *rec, const ulint *offsets, ulint trx_id_col, trx_id_t trx_id, roll_ptr_t roll_ptr) __attribute__((nonnull))
UNIV_INLINE void page_zip_set_size(page_zip_des_t *page_zip, ulint size)
UNIV_INLINE void UNIV_INTERN void page_zip_write_rec(page_zip_des_t *page_zip, const byte *rec, dict_index_t *index, const ulint *offsets, ulint create) __attribute__((nonnull))
UNIV_INTERN byte * page_zip_parse_write_blob_ptr(byte *ptr, byte *end_ptr, page_t *page, page_zip_des_t *page_zip)
UNIV_INTERN byte UNIV_INTERN ulint page_zip_calc_checksum(const void *data, ulint size) __attribute__((nonnull))
UNIV_INTERN ulint page_zip_empty_size(ulint n_fields, ulint zip_size) __attribute__((const ))
UNIV_INTERN byte * page_zip_parse_compress(byte *ptr, byte *end_ptr, page_t *page, page_zip_des_t *page_zip) __attribute__((nonnull(1
UNIV_INTERN void page_zip_copy_recs(page_zip_des_t *page_zip, page_t *page, const page_zip_des_t *src_zip, const page_t *src, dict_index_t *index, mtr_t *mtr) __attribute__((nonnull))
UNIV_INLINE ulint page_zip_get_size(const page_zip_des_t *page_zip) __attribute__((nonnull
UNIV_INTERN void UNIV_INTERN byte * page_zip_parse_write_node_ptr(byte *ptr, byte *end_ptr, page_t *page, page_zip_des_t *page_zip)