diff options
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 6963b890051..dc66f3464df 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -600,7 +600,6 @@ public: #else Unique **tempfiles; #endif - byte * dup_checking; THD *thd; ha_rows deleted; uint num_of_tables; @@ -608,12 +607,8 @@ public: thr_lock_type lock_option; bool do_delete; public: - multi_delete(TABLE_LIST *dt, thr_lock_type lock_option_arg, uint n) - : delete_tables (dt), deleted(0), num_of_tables(n), error(0), - lock_option(lock_option_arg) - { - thd = current_thd; do_delete = false; - } + multi_delete(THD *thd, TABLE_LIST *dt, thr_lock_type lock_option_arg, + uint num_of_tables); ~multi_delete(); int prepare(List<Item> &list); bool send_fields(List<Item> &list, |