mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-18220: race condition in fts_get_table_name()
fts_get_table_name(): Add the parameter bool dict_locked=false.
This commit is contained in:
parent
f3718a112a
commit
542f32649b
8 changed files with 66 additions and 34 deletions
|
|
@ -136,9 +136,11 @@ fts_eval_sql(
|
|||
|
||||
/** Construct the name of an internal FTS table for the given table.
|
||||
@param[in] fts_table metadata on fulltext-indexed table
|
||||
@param[out] table_name a name up to MAX_FULL_NAME_LEN */
|
||||
@param[out] table_name a name up to MAX_FULL_NAME_LEN
|
||||
@param[in] dict_locked whether dict_sys->mutex is being held */
|
||||
UNIV_INTERN
|
||||
void fts_get_table_name(const fts_table_t* fts_table, char* table_name)
|
||||
void fts_get_table_name(const fts_table_t* fts_table, char* table_name,
|
||||
bool dict_locked = false)
|
||||
MY_ATTRIBUTE((nonnull));
|
||||
/******************************************************************//**
|
||||
Construct the column specification part of the SQL string for selecting the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue