summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-02-08 15:18:02 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-02-08 16:24:28 +0400
commitbd13a78caf431966608481fcde084617b67c5684 (patch)
tree8554ab0bfebfb82ed1527ed8fcc1719d688992f7 /sql/sql_class.h
parent2840e083664514d0da52c7dffe74811d0f914e91 (diff)
downloadmariadb-git-bb-10.4-svoj-MDEV17805.tar.gz
Pass same share to ha_create() and ha_open()bb-10.4-svoj-MDEV17805
Part of MDEV-17805 - Remove InnoDB cache for temporary tables.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 41aa1ce8eec..9d7b79b6bf3 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -4727,7 +4727,8 @@ public:
TABLE *create_and_open_tmp_table(LEX_CUSTRING *frm,
const char *path,
const char *db,
- const char *table_name);
+ const char *table_name,
+ HA_CREATE_INFO *create_info);
TABLE *find_temporary_table(const char *db, const char *table_name,
Temporary_table_state state= TMP_TABLE_IN_USE);
@@ -4767,7 +4768,8 @@ private:
const char *table_name);
TMP_TABLE_SHARE *create_temporary_table(LEX_CUSTRING *frm,
const char *path, const char *db,
- const char *table_name);
+ const char *table_name,
+ bool write_frm);
TABLE *find_temporary_table(const char *key, uint key_length,
Temporary_table_state state);
TABLE *open_temporary_table(TMP_TABLE_SHARE *share, const char *alias);