diff options
Diffstat (limited to 'sql/table_cache.h')
-rw-r--r-- | sql/table_cache.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/table_cache.h b/sql/table_cache.h index 611980c615f..05a1803cc50 100644 --- a/sql/table_cache.h +++ b/sql/table_cache.h @@ -26,14 +26,11 @@ struct Share_free_tables char pad[CPU_LEVEL1_DCACHE_LINESIZE]; }; -typedef int64 tdc_version_t; -#define TDC_VERSION_MAX INT_MAX64 struct TDC_element { uchar m_key[NAME_LEN + 1 + NAME_LEN + 1]; uint m_key_length; - tdc_version_t version; bool flushed; TABLE_SHARE *share; @@ -90,10 +87,7 @@ extern bool tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type, extern int tdc_wait_for_old_version(THD *thd, const char *db, const char *table_name, - ulong wait_timeout, uint deadlock_weight, - tdc_version_t refresh_version= TDC_VERSION_MAX); -extern tdc_version_t tdc_refresh_version(void); -extern tdc_version_t tdc_increment_refresh_version(void); + ulong wait_timeout, uint deadlock_weight); extern int tdc_iterate(THD *thd, my_hash_walk_action action, void *argument, bool no_dups= false); |