51#define AZMETA_BUFFER_SIZE \
52 sizeof(unsigned long long) + sizeof(unsigned long long) + \
53 sizeof(unsigned long long) + sizeof(unsigned long long) + \
54 sizeof(unsigned int) + sizeof(unsigned int) + sizeof(unsigned int) + \
55 sizeof(unsigned int) + sizeof(unsigned char)
57#define AZHEADER_SIZE 29
60#define AZ_VERSION_POS 1
61#define AZ_MINOR_VERSION_POS 2
63#define AZ_STRATEGY_POS 4
65#define AZ_FRM_LENGTH_POS 9
67#define AZ_META_LENGTH_POS 17
68#define AZ_START_POS 21
70#define AZ_FLUSH_POS 37
71#define AZ_CHECK_POS 45
72#define AZ_AUTOINCREMENT_POS 53
73#define AZ_LONGEST_POS 61
74#define AZ_SHORTEST_POS 65
75#define AZ_COMMENT_POS 69
76#define AZ_COMMENT_LENGTH_POS 73
77#define AZ_DIRTY_POS 77
82#define AZ_STATE_CLEAN 0
83#define AZ_STATE_DIRTY 1
84#define AZ_STATE_SAVED 2
85#define AZ_STATE_CRASHED 3
156#define Z_PARTIAL_FLUSH 1
157#define Z_SYNC_FLUSH 2
158#define Z_FULL_FLUSH 3
164#define Z_STREAM_END 1
167#define Z_STREAM_ERROR (-2)
168#define Z_DATA_ERROR (-3)
169#define Z_MEM_ERROR (-4)
170#define Z_BUF_ERROR (-5)
171#define Z_VERSION_ERROR (-6)
176#define Z_NO_COMPRESSION 0
177#define Z_BEST_SPEED 1
178#define Z_BEST_COMPRESSION 9
179#define Z_DEFAULT_COMPRESSION (-1)
183#define Z_HUFFMAN_ONLY 2
186#define Z_DEFAULT_STRATEGY 0
191#define Z_ASCII Z_TEXT
199#define AZ_BUFSIZE_READ 32768
200#define AZ_BUFSIZE_WRITE 16384
struct azio_stream azio_stream
#define AZ_BUFSIZE_WRITE
Definition: azlib.h:200
int azflush(azio_stream *file, int flush)
Definition: azio.cc:593
size_t azread(azio_stream *s, voidp buf, size_t len, int *error)
Definition: azio.cc:394
int azread_comment(azio_stream *s, char *blob)
Definition: azio.cc:818
int azwrite_frm(azio_stream *s, char *blob, size_t length)
Definition: azio.cc:772
#define AZ_BUFSIZE_READ
Definition: azlib.h:199
int azrewind(azio_stream *file)
Definition: azio.cc:616
int azwrite_comment(azio_stream *s, char *blob, size_t length)
Definition: azio.cc:800
my_off_t aztell(azio_stream *file)
Definition: azio.cc:712
int azclose(azio_stream *file)
Definition: azio.cc:750
int azread_frm(azio_stream *s, char *blob)
Definition: azio.cc:790
my_off_t azseek(azio_stream *file, my_off_t offset, int whence)
Definition: azio.cc:640
unsigned int azwrite(azio_stream *s, const voidp buf, unsigned int len)
Definition: azio.cc:507
int azopen(azio_stream *s, const char *path, int Flags)
Definition: azio.cc:206
int azdopen(azio_stream *s, File fd, int Flags)
Definition: azio.cc:214
static const char * whence(const Item_field *cached_field)
Get the name of the cached field of an Item_cache_json instance.
Definition: item.cc:10030
ulonglong my_off_t
Definition: my_inttypes.h:72
Common #defines and includes for file and socket I/O.
int File
Definition: my_io_bits.h:51
void error(const char *format,...)
static char * path
Definition: mysqldump.cc:149
Definition: buf0block_hint.cc:30
constexpr value_type blob
Definition: classic_protocol_constants.h:272
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
static mysql_service_status_t flush(reference_caching_cache cache) noexcept
Definition: component.cc:114
int z_err
Definition: azlib.h:204
unsigned char dirty
Definition: azlib.h:227
Byte inbuf[AZ_BUFSIZE_READ]
Definition: azlib.h:207
unsigned int comment_start_pos
Definition: azlib.h:230
unsigned int frm_length
Definition: azlib.h:229
int back
Definition: azlib.h:216
my_off_t start
Definition: azlib.h:213
unsigned long long rows
Definition: azlib.h:223
unsigned int block_size
Definition: azlib.h:220
unsigned int comment_length
Definition: azlib.h:231
unsigned int longest_row
Definition: azlib.h:225
my_off_t in
Definition: azlib.h:214
unsigned long long forced_flushes
Definition: azlib.h:222
char mode
Definition: azlib.h:212
unsigned int frm_start_pos
Definition: azlib.h:228
my_off_t out
Definition: azlib.h:215
char * msg
Definition: azlib.h:210
unsigned char version
Definition: azlib.h:218
z_stream stream
Definition: azlib.h:203
int transparent
Definition: azlib.h:211
int last
Definition: azlib.h:217
unsigned int shortest_row
Definition: azlib.h:226
File file
Definition: azlib.h:206
uLong crc
Definition: azlib.h:209
int z_eof
Definition: azlib.h:205
unsigned long long auto_increment
Definition: azlib.h:224
unsigned long long check_point
Definition: azlib.h:221
unsigned char minor_version
Definition: azlib.h:219
Byte outbuf[AZ_BUFSIZE_WRITE]
Definition: azlib.h:208