mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-4260 Don't create frm files for temporary tables
* Don't write frm for tmp tables * pass frm image down to open_table_uncached, when possible * don't use truncate-by-recreate for temp tables - cannot recreate without frm, and delete_all_rows is faster anyway
This commit is contained in:
@ -127,7 +127,8 @@ 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_table_uncached(THD *thd, handlerton *hton, const char *path,
|
||||
TABLE *open_table_uncached(THD *thd, handlerton *hton,
|
||||
LEX_CUSTRING *frm, const char *path,
|
||||
const char *db, const char *table_name,
|
||||
bool add_to_temporary_tables_list,
|
||||
bool open_in_engine);
|
||||
|
Reference in New Issue
Block a user