summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-11-04 21:47:54 +0100
committerSergei Golubchik <sergii@pisem.net>2013-11-04 21:47:54 +0100
commit0150dc6ed9cc018173c211acb552d2791b0cebd2 (patch)
tree6250055d8a71bd297864fe16e5926cbb75add0d8 /sql/handler.h
parenta30e87414c3d3bdb04d953e98853b5c07c370122 (diff)
parentbf603250b02c936a271d628c93078cba3d081823 (diff)
downloadmariadb-git-0150dc6ed9cc018173c211acb552d2791b0cebd2.tar.gz
10.0-base merge
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h3
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);