summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0mysql.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-01-18 10:43:31 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-01-18 10:43:31 +0200
commita0d3ead83afe7b678c6e2a3ef3a43d05d0093a20 (patch)
treee0beb1202b3890be3a3890eb03f9dfea3c874806 /storage/innobase/row/row0mysql.cc
parent5f60c7c3c23c5f20fd9a8074aa72df00e13a1c5c (diff)
parent37ffdb44ef96bacac8981cf180bb47be5da486df (diff)
downloadmariadb-git-a0d3ead83afe7b678c6e2a3ef3a43d05d0093a20.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'storage/innobase/row/row0mysql.cc')
-rw-r--r--storage/innobase/row/row0mysql.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/storage/innobase/row/row0mysql.cc b/storage/innobase/row/row0mysql.cc
index 8bc9fdc7cae..80a3d2f046b 100644
--- a/storage/innobase/row/row0mysql.cc
+++ b/storage/innobase/row/row0mysql.cc
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2015, 2018, MariaDB Corporation.
+Copyright (c) 2015, 2019, MariaDB Corporation.
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
@@ -3414,8 +3414,11 @@ row_drop_table_for_mysql(
calling btr_search_drop_page_hash_index() while we
hold the InnoDB dictionary lock, we will drop any
adaptive hash index entries upfront. */
+ bool immune = is_temp_name
+ || strstr(table->name.m_name, "/FTS");
+
while (buf_LRU_drop_page_hash_for_tablespace(table)) {
- if ((!is_temp_name && trx_is_interrupted(trx))
+ if ((!immune && trx_is_interrupted(trx))
|| srv_shutdown_state
!= SRV_SHUTDOWN_NONE) {
err = DB_INTERRUPTED;