summaryrefslogtreecommitdiff
path: root/storage/xtradb/fts/fts0opt.cc
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-23 18:04:34 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-23 18:04:34 +0200
commitcd33250d2acf65361ee2ead625c626bfd2f51046 (patch)
tree99a17eed2623f31a1c2b9373cf82fce3e762cca4 /storage/xtradb/fts/fts0opt.cc
parentb4606367d7ba82652a346320d458c25c391847ea (diff)
downloadmariadb-git-cd33250d2acf65361ee2ead625c626bfd2f51046.tar.gz
5.6.38-83.0
Diffstat (limited to 'storage/xtradb/fts/fts0opt.cc')
-rw-r--r--storage/xtradb/fts/fts0opt.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/storage/xtradb/fts/fts0opt.cc b/storage/xtradb/fts/fts0opt.cc
index 19098dc00ef..0a9728abe1d 100644
--- a/storage/xtradb/fts/fts0opt.cc
+++ b/storage/xtradb/fts/fts0opt.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2007, 2017, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -2970,13 +2970,6 @@ fts_optimize_sync_table(
{
dict_table_t* table = NULL;
- /* Prevent DROP INDEX etc. from running when we are syncing
- cache in background. */
- if (!rw_lock_s_lock_nowait(&dict_operation_lock, __FILE__, __LINE__)) {
- /* Exit when fail to get dict operation lock. */
- return;
- }
-
table = dict_table_open_on_id(table_id, FALSE, DICT_TABLE_OP_NORMAL);
if (table) {
@@ -2986,8 +2979,6 @@ fts_optimize_sync_table(
dict_table_close(table, FALSE, FALSE);
}
-
- rw_lock_s_unlock(&dict_operation_lock);
}
/**********************************************************************//**