MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fts_zip_t Struct Reference
Collaboration diagram for fts_zip_t:

Public Attributes

ulint status
ulint n_words
ulint block_sz
ib_vector_tblocks
ib_alloc_theap_alloc
ulint pos
ulint last_big_block
z_streamp zp
fts_string_t word
ulint max_words

Detailed Description

Compressed list of words that have been read from FTS INDEX

that needs to be optimized.

Definition at line 94 of file fts0opt.cc.

Member Data Documentation

ulint fts_zip_t::block_sz

Size of a block in bytes

Definition at line 99 of file fts0opt.cc.

ib_vector_t* fts_zip_t::blocks

Vector of compressed blocks

Definition at line 101 of file fts0opt.cc.

ib_alloc_t* fts_zip_t::heap_alloc

Heap to use for allocations

Definition at line 103 of file fts0opt.cc.

ulint fts_zip_t::last_big_block

Offset of last block in the blocks array that is of size block_sz. Blocks beyond this offset are of size FTS_MAX_WORD_LEN

Definition at line 107 of file fts0opt.cc.

ulint fts_zip_t::max_words

maximum number of words to read in one pase

Definition at line 120 of file fts0opt.cc.

ulint fts_zip_t::n_words

Number of words compressed

Definition at line 97 of file fts0opt.cc.

ulint fts_zip_t::pos

Offset into blocks

Definition at line 105 of file fts0opt.cc.

ulint fts_zip_t::status

Status of (un)/zip operation

Definition at line 95 of file fts0opt.cc.

fts_string_t fts_zip_t::word

UTF-8 string

Definition at line 118 of file fts0opt.cc.

z_streamp fts_zip_t::zp

ZLib state The value of the last word read from the FTS INDEX table. This is used to discard duplicates

Definition at line 112 of file fts0opt.cc.


The documentation for this struct was generated from the following file: