summaryrefslogtreecommitdiff
path: root/sql/sql_base.h
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-08-31 14:03:36 +0400
committerAlexander Nozdrin <alik@sun.com>2010-08-31 14:03:36 +0400
commitd2159e37f2931ac87baf956d21910a5edea1fcce (patch)
tree51c4727108df919fd2a982c76f2d8294ed1199fa /sql/sql_base.h
parent53e566a42a0203bf6b1054252da4dfea2b9442b8 (diff)
downloadmariadb-git-d2159e37f2931ac87baf956d21910a5edea1fcce.tar.gz
Bug#27480 (Extend CREATE TEMPORARY TABLES privilege
to allow temp table operations) -- prerequisite patch #3. Rename open_temporary_table() to open_table_uncached(). open_temporary_table() will be introduced in following patches to open temporary tables for a statement.
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r--sql/sql_base.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h
index 56776bde1cc..a21850355b4 100644
--- a/sql/sql_base.h
+++ b/sql/sql_base.h
@@ -141,8 +141,9 @@ bool open_new_frm(THD *thd, TABLE_SHARE *share, const char *alias,
bool get_key_map_from_key_list(key_map *map, TABLE *table,
List<String> *index_list);
-TABLE *open_temporary_table(THD *thd, const char *path, const char *db,
- const char *table_name, bool link_in_list);
+TABLE *open_table_uncached(THD *thd, const char *path, const char *db,
+ const char *table_name,
+ bool add_to_temporary_tables_list);
TABLE *find_locked_table(TABLE *list, const char *db, const char *table_name);
TABLE *find_write_locked_table(TABLE *list, const char *db,
const char *table_name);