MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fts_sync_t Struct Reference

#include <fts0types.h>

Collaboration diagram for fts_sync_t:

Public Attributes

trx_ttrx
dict_table_ttable
ulint max_cache_size
ibool cache_full
ulint lower_index
ulint upper_index
ibool interrupted
doc_id_t min_doc_id
doc_id_t max_doc_id
ib_time_t start_time

Detailed Description

The SYNC state of the cache. There is one instance of this struct

associated with each ADD thread.

Definition at line 106 of file fts0types.h.

Member Data Documentation

ibool fts_sync_t::cache_full

flag, when true it indicates that we need to sync the cache to disk

Definition at line 111 of file fts0types.h.

ibool fts_sync_t::interrupted

TRUE if SYNC was interrupted

Definition at line 118 of file fts0types.h.

ulint fts_sync_t::lower_index

the start index of the doc id vector from where to start adding documents to the FTS cache

Definition at line 113 of file fts0types.h.

ulint fts_sync_t::max_cache_size

Max size in bytes of the cache

Definition at line 110 of file fts0types.h.

doc_id_t fts_sync_t::max_doc_id

The doc id at which the cache was noted as being full, we use this to set the upper_limit field

Definition at line 122 of file fts0types.h.

doc_id_t fts_sync_t::min_doc_id

The smallest doc id added to the cache. It should equal to doc_ids[lower_index]

Definition at line 119 of file fts0types.h.

ib_time_t fts_sync_t::start_time

SYNC start time

Definition at line 125 of file fts0types.h.

dict_table_t* fts_sync_t::table

Table with FTS index(es)

Definition at line 109 of file fts0types.h.

trx_t* fts_sync_t::trx

The transaction used for SYNCing the cache to disk

Definition at line 107 of file fts0types.h.

ulint fts_sync_t::upper_index

max index of the doc id vector to add to the FTS cache

Definition at line 116 of file fts0types.h.


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