summaryrefslogtreecommitdiff
path: root/storage/innobase/srv/srv0start.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-07-25 13:34:36 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-07-25 13:34:36 +0300
commita7e9395f9de0cc19cf79064f5df796d98ec19762 (patch)
treead308db1fd38174921fdae5049f37922cd0c3e57 /storage/innobase/srv/srv0start.cc
parent7de38492fcb806d10649e72130a30cf13dd5124d (diff)
downloadmariadb-git-a7e9395f9de0cc19cf79064f5df796d98ec19762.tar.gz
fts_sync_table(), fts_sync() dead code removal
fts_sync(): Remove the constant parameter has_dict=false. fts_sync_table(): Remove the constant parameter has_dict=false, and the redundant parameter unlock_cache = !wait. Make wait=true the default parameter.
Diffstat (limited to 'storage/innobase/srv/srv0start.cc')
-rw-r--r--storage/innobase/srv/srv0start.cc30
1 files changed, 0 insertions, 30 deletions
diff --git a/storage/innobase/srv/srv0start.cc b/storage/innobase/srv/srv0start.cc
index f3e91dee159..3cd5f289991 100644
--- a/storage/innobase/srv/srv0start.cc
+++ b/storage/innobase/srv/srv0start.cc
@@ -2759,36 +2759,6 @@ files_checked:
return(DB_SUCCESS);
}
-#if 0
-/********************************************************************
-Sync all FTS cache before shutdown */
-static
-void
-srv_fts_close(void)
-/*===============*/
-{
- dict_table_t* table;
-
- for (table = UT_LIST_GET_FIRST(dict_sys->table_LRU);
- table; table = UT_LIST_GET_NEXT(table_LRU, table)) {
- fts_t* fts = table->fts;
-
- if (fts != NULL) {
- fts_sync_table(table);
- }
- }
-
- for (table = UT_LIST_GET_FIRST(dict_sys->table_non_LRU);
- table; table = UT_LIST_GET_NEXT(table_LRU, table)) {
- fts_t* fts = table->fts;
-
- if (fts != NULL) {
- fts_sync_table(table);
- }
- }
-}
-#endif
-
/** Shut down background threads that can generate undo log. */
void
srv_shutdown_bg_undo_sources()