mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-22597 Add views for periods in information_schema
Two new information_schema views are added: * PERIOD table -- columns TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, PERIOD_NAME, START_COLUMN_NAME, END_COLUMN_NAME. * KEY_PERIOD_USAGE -- works similar to KEY_COLUMN_USAGE, but for periods. Columns CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, CONSTRAINT_NAME, TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, PERIOD_NAME Two new columns are added to the COLUMNS view: IS_SYSTEM_TIME_PERIOD_START, IS_SYSTEM_TIME_PERIOD_END - contain YES/NO.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
85f9df29c0
commit
4246c0fa01
@@ -1067,10 +1067,12 @@ enum enum_schema_tables
|
||||
SCH_KEYWORDS,
|
||||
SCH_KEY_CACHES,
|
||||
SCH_KEY_COLUMN_USAGE,
|
||||
SCH_KEY_PERIOD_USAGE,
|
||||
SCH_OPEN_TABLES,
|
||||
SCH_OPTIMIZER_COSTS,
|
||||
SCH_OPT_TRACE,
|
||||
SCH_PARAMETERS,
|
||||
SCH_PERIODS,
|
||||
SCH_PARTITIONS,
|
||||
SCH_PLUGINS,
|
||||
SCH_PROCESSLIST,
|
||||
@@ -1091,7 +1093,8 @@ enum enum_schema_tables
|
||||
SCH_TABLE_PRIVILEGES,
|
||||
SCH_TRIGGERS,
|
||||
SCH_USER_PRIVILEGES,
|
||||
SCH_VIEWS
|
||||
SCH_VIEWS,
|
||||
SCH_ENUM_SIZE
|
||||
};
|
||||
|
||||
struct TABLE_SHARE;
|
||||
|
Reference in New Issue
Block a user