summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2018-05-29 23:55:57 +0300
committerSergey Vojtovich <svoj@mariadb.org>2019-03-22 22:50:17 +0400
commita07e29a0e5661d9506bdd63f92bb83f125aeac3b (patch)
tree52d570cd4ccb2ad7c3e5aaa9d89e43cfc46158a5 /sql/table.h
parent53216091dd27f9bfc3cf4a47f0b883f878e7331d (diff)
downloadmariadb-git-a07e29a0e5661d9506bdd63f92bb83f125aeac3b.tar.gz
cleanup TABLE_SHARE
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/table.h b/sql/table.h
index 72f516aebdb..b7c14e0a606 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -745,9 +745,6 @@ struct TABLE_SHARE
/* For sequence tables, the current sequence state */
SEQUENCE *sequence;
- /* Name of the tablespace used for this table */
- char *tablespace;
-
#ifdef WITH_PARTITION_STORAGE_ENGINE
/* filled in when reading from frm */
bool auto_partitioned;
@@ -847,12 +844,6 @@ struct TABLE_SHARE
set_table_cache_key(key_buff, key_length);
}
- inline bool honor_global_locks()
- {
- return ((table_category == TABLE_CATEGORY_USER)
- || (table_category == TABLE_CATEGORY_SYSTEM));
- }
-
inline bool require_write_privileges()
{
return (table_category == TABLE_CATEGORY_LOG);