diff options
author | Kristian Nielsen <knielsen@knielsen-hq.org> | 2015-04-13 14:28:07 +0200 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2015-04-13 14:28:07 +0200 |
commit | 2de8db6296fb5d5ea90f646b465b6afe33c32286 (patch) | |
tree | f0a149395b2ddc9a6c8d62ac0a0425dd692597a0 /sql/sql_base.h | |
parent | 8a01a0acb332c36c8e1c63027fb9e65587ed2784 (diff) | |
parent | 60d094aeacb0c1433f2510e0228b2791745ae53e (diff) | |
download | mariadb-git-2de8db6296fb5d5ea90f646b465b6afe33c32286.tar.gz |
Merge MDEV-7936 into 10.1
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index 0e492fa8cf7..876bc6e7ed7 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -143,7 +143,11 @@ TABLE_LIST *find_table_in_list(TABLE_LIST *table, const char *db_name, const char *table_name); TABLE *find_temporary_table(THD *thd, const char *db, const char *table_name); +bool find_and_use_temporary_table(THD *thd, const char *db, + const char *table_name, TABLE **out_table); TABLE *find_temporary_table(THD *thd, const TABLE_LIST *tl); +bool find_and_use_temporary_table(THD *thd, const TABLE_LIST *tl, + TABLE **out_table); TABLE *find_temporary_table(THD *thd, const char *table_key, uint table_key_length); void close_thread_tables(THD *thd); |