MySQL 5.6.14 Source Code Document
|
#include "trx0roll.h"
#include "row0sel.h"
#include "fts0priv.h"
#include "fts0types.ic"
#include "fts0vlc.ic"
Go to the source code of this file.
Full Text Search configuration table.
Created 2007/5/9 Sunny Bains
Definition in file fts0config.cc.
UNIV_INTERN char* fts_config_create_index_param_name | ( | const char * | param, |
const dict_index_t * | index | ||
) |
Create the config table name for retrieving index specific value.
param | in: base name of param |
index | in: index for config |
Definition at line 137 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_get_index_ulint | ( | trx_t * | trx, |
dict_index_t * | index, | ||
const char * | name, | ||
ulint * | int_value | ||
) |
Get an ulint value from the config table.
trx | in: transaction |
index | in: FTS index |
name | in: param name |
int_value | out: value |
Definition at line 297 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_get_index_value | ( | trx_t * | trx, |
dict_index_t * | index, | ||
const char * | param, | ||
fts_string_t * | value | ||
) |
Get value specific to an FTS index from the config table. The caller must ensure that enough space is allocated for value to hold the column contents.
trx | transaction |
index | in: index |
param | in: get config value for this parameter name |
value | out: value read from config table |
Definition at line 166 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_get_ulint | ( | trx_t * | trx, |
fts_table_t * | fts_table, | ||
const char * | name, | ||
ulint * | int_value | ||
) |
Get an ulint value from the config table.
trx | in: transaction |
fts_table | in: the indexed FTS table |
name | in: param name |
int_value | out: value |
Definition at line 373 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_get_value | ( | trx_t * | trx, |
fts_table_t * | fts_table, | ||
const char * | name, | ||
fts_string_t * | value | ||
) |
Get value from the config table. The caller must ensure that enough space is allocated for value to hold the column contents.
trx | transaction |
fts_table | in: the indexed FTS table |
name | in: get config value for this parameter name |
value | out: value read from config table |
Definition at line 74 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_increment_index_value | ( | trx_t * | trx, |
dict_index_t * | index, | ||
const char * | param, | ||
ulint | delta | ||
) |
Increment the per index value in the config table for column name.
trx | transaction |
index | in: FTS index |
param | in: increment config value for this parameter name |
delta | in: increment by this much |
Definition at line 537 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_increment_value | ( | trx_t * | trx, |
fts_table_t * | fts_table, | ||
const char * | name, | ||
ulint | delta | ||
) |
Increment the value in the config table for column name.
trx | transaction |
fts_table | in: the indexed FTS table |
name | in: increment config value for this parameter name |
delta | in: increment by this much |
Definition at line 451 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_set_index_ulint | ( | trx_t * | trx, |
dict_index_t * | index, | ||
const char * | name, | ||
ulint | int_value | ||
) |
Set an ulint value in the config table.
trx | in: transaction |
index | in: FTS index |
name | in: param name |
int_value | in: value |
Definition at line 333 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_set_index_value | ( | trx_t * | trx, |
dict_index_t * | index, | ||
const char * | param, | ||
fts_string_t * | value | ||
) |
Set the value specific to an FTS index in the config table.
trx | transaction |
index | in: index |
param | in: get config value for this parameter name |
value | out: value read from config table |
Definition at line 266 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_set_ulint | ( | trx_t * | trx, |
fts_table_t * | fts_table, | ||
const char * | name, | ||
ulint | int_value | ||
) |
Set an ulint value in the config table.
trx | in: transaction |
fts_table | in: the indexed FTS table |
name | in: param name |
int_value | in: value |
Definition at line 410 of file fts0config.cc.
UNIV_INTERN dberr_t fts_config_set_value | ( | trx_t * | trx, |
fts_table_t * | fts_table, | ||
const char * | name, | ||
const fts_string_t * | value | ||
) |
Set the value in the config table for name.
trx | transaction |
fts_table | in: the indexed FTS table |
name | in: get config value for this parameter name |
value | in: value to update |
Definition at line 197 of file fts0config.cc.