summaryrefslogtreecommitdiff
path: root/storage/innobase/include
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-09-30 13:26:46 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-09-30 13:26:46 +0300
commitcd5f4d2a5939aa047734f023b28462c65f3e4569 (patch)
treef08313f8ff111687fdd4d7b5f6775c29a0a638e5 /storage/innobase/include
parentaa2f263e595624bb64ddd31ce081126381f86a39 (diff)
downloadmariadb-git-cd5f4d2a5939aa047734f023b28462c65f3e4569.tar.gz
Cleanup: Remove unused fts_cache_t::optimize_lock
This has been unused from the very beginning (mysql/mysql-server@d5e512ae7e37cd1f70c44a3f12205d70b13118ab).
Diffstat (limited to 'storage/innobase/include')
-rw-r--r--storage/innobase/include/fts0types.h2
-rw-r--r--storage/innobase/include/sync0sync.h1
-rw-r--r--storage/innobase/include/sync0types.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/storage/innobase/include/fts0types.h b/storage/innobase/include/fts0types.h
index 44c3ab77695..f5760a16c0e 100644
--- a/storage/innobase/include/fts0types.h
+++ b/storage/innobase/include/fts0types.h
@@ -131,8 +131,6 @@ struct fts_cache_t {
intialization, it has different
SYNC level as above cache lock */
- ib_mutex_t optimize_lock; /*!< Lock for OPTIMIZE */
-
ib_mutex_t deleted_lock; /*!< Lock covering deleted_doc_ids */
ib_mutex_t doc_id_lock; /*!< Lock covering Doc ID */
diff --git a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h
index e250307fa28..1517a93c196 100644
--- a/storage/innobase/include/sync0sync.h
+++ b/storage/innobase/include/sync0sync.h
@@ -62,7 +62,6 @@ extern mysql_pfs_key_t fil_system_mutex_key;
extern mysql_pfs_key_t flush_list_mutex_key;
extern mysql_pfs_key_t fts_bg_threads_mutex_key;
extern mysql_pfs_key_t fts_delete_mutex_key;
-extern mysql_pfs_key_t fts_optimize_mutex_key;
extern mysql_pfs_key_t fts_doc_id_mutex_key;
extern mysql_pfs_key_t fts_pll_tokenize_mutex_key;
extern mysql_pfs_key_t hash_table_mutex_key;
diff --git a/storage/innobase/include/sync0types.h b/storage/innobase/include/sync0types.h
index 1820642b004..a52bb4437ea 100644
--- a/storage/innobase/include/sync0types.h
+++ b/storage/innobase/include/sync0types.h
@@ -307,7 +307,6 @@ enum latch_id_t {
LATCH_ID_FLUSH_LIST,
LATCH_ID_FTS_BG_THREADS,
LATCH_ID_FTS_DELETE,
- LATCH_ID_FTS_OPTIMIZE,
LATCH_ID_FTS_DOC_ID,
LATCH_ID_FTS_PLL_TOKENIZE,
LATCH_ID_HASH_TABLE_MUTEX,