28#ifndef DICT_SDI_DECOMPRESS_H
29#define DICT_SDI_DECOMPRESS_H
55#ifdef UNIV_NO_ERR_MSGS
58 ib::error(ER_IB_ERR_ZLIB_UNCOMPRESS_FAILED)
60 <<
"ZLIB uncompress() failed:"
66#ifdef UNIV_NO_ERR_MSGS
72 <<
"retval = Z_BUF_ERROR";
76#ifdef UNIV_NO_ERR_MSGS
81 <<
"retval = Z_MEM_ERROR";
85#ifdef UNIV_NO_ERR_MSGS
90 <<
"retval = Z_DATA_ERROR";
94#ifdef UNIV_NO_ERR_MSGS
99 <<
"retval = UNKNOWN_ERROR";
#define Z_BUF_ERROR
Definition: azlib.h:170
#define Z_OK
Definition: azlib.h:163
#define Z_DATA_ERROR
Definition: azlib.h:168
#define Z_MEM_ERROR
Definition: azlib.h:169
Decompress SDI record.
Definition: dict0sdi-decompress.h:34
void decompress()
Decompress the SDI and store in the buffer passed.
Definition: dict0sdi-decompress.h:49
uint32_t m_comp_len
Length of Compressed SDI.
Definition: dict0sdi-decompress.h:116
byte * m_uncomp_sdi
Buffer to hold uncompressed SDI.
Definition: dict0sdi-decompress.h:110
Sdi_Decompressor(byte *uncomp_sdi, uint32_t uncomp_len, byte *comp_sdi, uint32_t comp_len)
Definition: dict0sdi-decompress.h:36
uint32_t m_uncomp_len
Length of Outbuf Buffer.
Definition: dict0sdi-decompress.h:112
~Sdi_Decompressor()=default
byte * get_data() const
Definition: dict0sdi-decompress.h:106
byte * m_comp_sdi
Input Compressed SDI.
Definition: dict0sdi-decompress.h:114
The class error is used to emit error messages.
Definition: ut0log.h:231
The class fatal is used to emit an error message and stop the server by crashing it.
Definition: ut0log.h:253
#define UT_LOCATION_HERE
Definition: ut0core.h:73
#define ut_ad(EXPR)
Debug assertion.
Definition: ut0dbg.h:105