diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:20:48 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 16:20:48 +0200 |
commit | 050d7d6d75cbeb2f048dd0786c702452d2d7c18f (patch) | |
tree | 6106cc984e739698cab322cf8cf719b09a97fc1c /sql/sql_base.h | |
parent | 3a8e1a2205b6e4147a484c598d59f01a9c8b720b (diff) | |
download | mariadb-git-050d7d6d75cbeb2f048dd0786c702452d2d7c18f.tar.gz |
optimize discovery for cases when the storage engine is known in advance
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index fc95ecb0119..95d9bf21fe8 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -195,8 +195,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, const char *path, const char *db, - const char *table_name, +TABLE *open_table_uncached(THD *thd, handlerton *hton, 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, |