MySQL 9.1.0
Source Code Documentation
|
The state of the FTS sub system. More...
#include <fts0fts.h>
Public Member Functions | |
fts_t (dict_table_t *table, mem_heap_t *heap) | |
fts_t constructor. More... | |
~fts_t () | |
fts_t destructor. More... | |
Public Attributes | |
ib_mutex_t | bg_threads_mutex |
Mutex protecting bg_threads* and fts_add_wq. More... | |
ulint | bg_threads |
Number of background threads accessing this table. More... | |
ulint | fts_status |
Status bit regarding fts running state. More... | |
ib_wqueue_t * | add_wq |
Work queue for scheduling jobs for the FTS 'Add' thread, or NULL if the thread has not yet been created. More... | |
fts_cache_t * | cache |
FTS memory buffer for this table, or NULL if the table has no FTS index. More... | |
ulint | doc_col |
FTS doc id hidden column number in the CLUSTERED index. More... | |
ib_vector_t * | indexes |
Vector of FTS indexes, this is mainly for caching purposes. More... | |
mem_heap_t * | fts_heap |
Heap for fts_t allocation. More... | |
The state of the FTS sub system.
fts_t::fts_t | ( | dict_table_t * | table, |
mem_heap_t * | heap | ||
) |
fts_t constructor.
[in] | table | table with FTS indexes |
[in,out] | heap | memory heap where 'this' is stored |
fts_t::~fts_t | ( | ) |
fts_t destructor.
ib_wqueue_t* fts_t::add_wq |
Work queue for scheduling jobs for the FTS 'Add' thread, or NULL if the thread has not yet been created.
Each work item is a fts_trx_doc_ids_t*.
ulint fts_t::bg_threads |
Number of background threads accessing this table.
ib_mutex_t fts_t::bg_threads_mutex |
Mutex protecting bg_threads* and fts_add_wq.
fts_cache_t* fts_t::cache |
FTS memory buffer for this table, or NULL if the table has no FTS index.
ulint fts_t::doc_col |
FTS doc id hidden column number in the CLUSTERED index.
mem_heap_t* fts_t::fts_heap |
Heap for fts_t allocation.
ulint fts_t::fts_status |
Status bit regarding fts running state.
true if background threads running should stop themselves.
ib_vector_t* fts_t::indexes |
Vector of FTS indexes, this is mainly for caching purposes.