summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index da21b9cb108..1266e1777ce 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -3239,17 +3239,12 @@ public:
/**
@param id thread identifier
@param is_wsrep_applier thread type
- @param skip_lock instruct whether @c LOCK_global_system_variables
- is already locked, to not acquire it then.
*/
- THD(my_thread_id id, bool is_wsrep_applier= false, bool skip_lock= false);
+ THD(my_thread_id id, bool is_wsrep_applier= false);
~THD();
- /**
- @param skip_lock instruct whether @c LOCK_global_system_variables
- is already locked, to not acquire it then.
- */
- void init(bool skip_lock= false);
+
+ void init();
/*
Initialize memory roots necessary for query processing and (!)
pre-allocate memory for it. We can't do that in THD constructor because