diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-08-12 15:46:35 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-08-12 15:46:35 +0200 |
commit | 9747fbb4114146561f6f2b07a93c1cd97e23463b (patch) | |
tree | 2994dae4cd97e3f05f071fcb47a0a14c75d742c1 /sql/table.h | |
parent | eafb11c821dedf5fb5509875b4fb553417ef1ea5 (diff) | |
download | mariadb-git-9747fbb4114146561f6f2b07a93c1cd97e23463b.tar.gz |
MDEV-4786 merge 10.0-monty -> 10.0
remove TDC_RT_REMOVE_NOT_OWN_AND_MARK_NOT_USABLE
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sql/table.h b/sql/table.h index 85beb808e3c..19a001a8d3e 100644 --- a/sql/table.h +++ b/sql/table.h @@ -837,36 +837,6 @@ struct TABLE_SHARE { return version != refresh_version; } - inline bool protected_against_usage() const - { - return version == 0; - } - inline void protect_against_usage() - { - version= 0; - } - /* - This is used only for the case of locked tables, as we want to - allow one to do SHOW commands on them even after ALTER or REPAIR - */ - inline void allow_access_to_protected_table() - { - DBUG_ASSERT(version == 0); - version= 1; - } - /* - Remove from table definition cache at close. - Table can still be opened by SHOW - */ - inline void remove_from_cache_at_close() - { - if (version != 0) /* Don't remove protection */ - version= 1; - } - inline void set_refresh_version() - { - version= refresh_version; - } /** Convert unrelated members of TABLE_SHARE to one enum |