diff options
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index ee961010b2c..360120615f3 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -3962,11 +3962,14 @@ class Discovered_table_list: public handlerton::discovered_list { THD *thd; const char *wild, *wend; + bool with_temps; // whether to include temp tables in the result public: Dynamic_array<LEX_STRING*> *tables; Discovered_table_list(THD *thd_arg, Dynamic_array<LEX_STRING*> *tables_arg, const LEX_STRING *wild_arg); + Discovered_table_list(THD *thd_arg, Dynamic_array<LEX_STRING*> *tables_arg) + : thd(thd_arg), wild(NULL), with_temps(true), tables(tables_arg) {} ~Discovered_table_list() {} bool add_table(const char *tname, size_t tlen); |