diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:35:57 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-09 15:35:57 +0200 |
commit | 6a839ff40d1be946b4391eb7a316b0404e1cd82b (patch) | |
tree | 770dce5797a309f58d4741856fa4b4b7ba735a68 /sql/sql_base.h | |
parent | 934115184b52a28a30d576a8a47d0ec66b1b0712 (diff) | |
download | mariadb-git-6a839ff40d1be946b4391eb7a316b0404e1cd82b.tar.gz |
handlerton::discover_table_existence() method
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r-- | sql/sql_base.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h index e0ced3992eb..1880b4f4321 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -113,7 +113,7 @@ TABLE_SHARE *get_table_share(THD *thd, const char *db, const char *table_name, enum open_frm_error *error, my_hash_value_type hash_value); void release_table_share(TABLE_SHARE *share); - +TABLE_SHARE *get_cached_table_share(const char *db, const char *table_name); // convenience helper: call get_table_share() without precomputed hash_value static inline TABLE_SHARE *get_table_share(THD *thd, const char *db, @@ -369,13 +369,6 @@ TABLE *find_table_for_mdl_upgrade(THD *thd, const char *db, bool no_error); void mark_tmp_table_for_reuse(TABLE *table); -bool table_exists(THD *thd, const char *db, const char *table_name, - const char *path); -static inline bool table_exists(THD *thd, TABLE_LIST *table) -{ - return table_exists(thd, table->db, table->table_name, NULL); -} - int update_virtual_fields(THD *thd, TABLE *table, enum enum_vcol_update_mode vcol_update_mode= VCOL_UPDATE_FOR_READ); int dynamic_column_error_message(enum_dyncol_func_result rc); |