diff options
author | Eugene Kosov <claprix@yandex.ru> | 2018-05-22 22:32:14 +0300 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-23 18:06:51 +0400 |
commit | c13e3c37be4fd5252ce0cad45b616815b236272a (patch) | |
tree | d8fb356671b8a916a3961fb8326b4dcc5a1338ae /sql/table.h | |
parent | 611488e3d9029f617884e10e47da208b0a77efec (diff) | |
download | mariadb-git-c13e3c37be4fd5252ce0cad45b616815b236272a.tar.gz |
cleanup TABLE_LIST
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/table.h b/sql/table.h index 977c247d1a1..6655346cd45 100644 --- a/sql/table.h +++ b/sql/table.h @@ -2268,7 +2268,7 @@ struct TABLE_LIST /* TABLE_TYPE_UNKNOWN if any type is acceptable */ Table_type required_type; handlerton *db_type; /* table_type for handler */ - char timestamp_buffer[20]; /* buffer for timestamp (19+1) */ + char timestamp_buffer[MAX_DATETIME_WIDTH + 1]; /* This TABLE_LIST object is just placeholder for prelocking, it will be used for implicit LOCK TABLES only and won't be used in real statement. @@ -2300,8 +2300,6 @@ struct TABLE_LIST /* TODO: replace with derived_type */ bool merged; bool merged_for_insert; - /* TRUE <=> don't prepare this derived table/view as it should be merged.*/ - bool skip_prepare_derived; bool sequence; /* Part of NEXTVAL/CURVAL/LASTVAL */ /* @@ -2311,7 +2309,6 @@ struct TABLE_LIST List<Item> used_items; /* Sublist (tail) of persistent used_items */ List<Item> persistent_used_items; - Item **materialized_items; /* View creation context. */ |