summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-07-26 07:03:39 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2019-07-26 07:03:39 +0200
commitcf8c2a3c3b2eb05df419ce014b98a71b1e75ad6b (patch)
tree0e9c8d48fda7b7494b5d3b220bc6af64e4f3e64a /sql/sql_table.cc
parentfc77a66c7eb1b8e90753814aa567daeaabd0dd90 (diff)
parent584d213235704113cf0d70319c0521d93b8744c6 (diff)
downloadmariadb-git-cf8c2a3c3b2eb05df419ce014b98a71b1e75ad6b.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index bbc8cc4be01..fbd6622b1b2 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2000, 2016, Oracle and/or its affiliates.
+ Copyright (c) 2000, 2019, Oracle and/or its affiliates.
Copyright (c) 2010, 2019, MariaDB
This program is free software; you can redistribute it and/or modify
@@ -2522,8 +2522,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
table->table ? table->table->s : NULL));
}
DEBUG_SYNC(thd, "rm_table_no_locks_before_binlog");
- thd->thread_specific_used|= (trans_tmp_table_deleted ||
- non_trans_tmp_table_deleted);
+ thd->thread_specific_used= TRUE;
error= 0;
err:
if (wrong_tables.length())