summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index a1010fb4c35..b62d0675145 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -67,6 +67,7 @@
#include "wsrep_thd.h"
#include "sql_connect.h"
#include "my_atomic.h"
+#include "sql_base.h"
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
@@ -4411,7 +4412,6 @@ TABLE *get_purge_table(THD *thd)
return thd->open_tables;
}
-
/** Find an open table in the list of prelocked tabled
Used for foreign key actions, for example, in UPDATE t1 SET a=1;