MySQL 8.0.40
Source Code Documentation
fts_zip_t Struct Reference

Compressed list of words that have been read from FTS INDEX that needs to be optimized. More...

Public Attributes

lint status
 Status of (un)/zip operation. More...
 
ulint n_words
 Number of words compressed. More...
 
ulint block_sz
 Size of a block in bytes. More...
 
ib_vector_tblocks
 Vector of compressed blocks. More...
 
ib_alloc_theap_alloc
 Heap to use for allocations. More...
 
ulint pos
 Offset into blocks. More...
 
ulint last_big_block
 Offset of last block in the blocks array that is of size block_sz. More...
 
z_streamp zp
 ZLib state. More...
 
fts_string_t word
 UTF-8 string. More...
 
ulint max_words
 maximum number of words to read in one pass More...
 

Detailed Description

Compressed list of words that have been read from FTS INDEX that needs to be optimized.

Member Data Documentation

◆ block_sz

ulint fts_zip_t::block_sz

Size of a block in bytes.

◆ blocks

ib_vector_t* fts_zip_t::blocks

Vector of compressed blocks.

◆ heap_alloc

ib_alloc_t* fts_zip_t::heap_alloc

Heap to use for allocations.

◆ last_big_block

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

◆ max_words

ulint fts_zip_t::max_words

maximum number of words to read in one pass

◆ n_words

ulint fts_zip_t::n_words

Number of words compressed.

◆ pos

ulint fts_zip_t::pos

Offset into blocks.

◆ status

lint fts_zip_t::status

Status of (un)/zip operation.

◆ word

fts_string_t fts_zip_t::word

UTF-8 string.

◆ zp

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


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