summaryrefslogtreecommitdiff
path: root/scripts/mysql_system_tables.sql
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-05-24 18:52:48 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-05-25 15:26:05 +0300
commit1c8a2de73eecef8b53165b9c8c3d001513a7a4c1 (patch)
treec19754fa98f49ffb7e322bc7960df309f7f20db5 /scripts/mysql_system_tables.sql
parent414651c80a64d93ece5a3f03bfb186fe52cca6f0 (diff)
downloadmariadb-git-1c8a2de73eecef8b53165b9c8c3d001513a7a4c1.tar.gz
Scripts: VTMD schema fix
Diffstat (limited to 'scripts/mysql_system_tables.sql')
-rw-r--r--scripts/mysql_system_tables.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysql_system_tables.sql b/scripts/mysql_system_tables.sql
index 51e324386c3..ae115b37b9f 100644
--- a/scripts/mysql_system_tables.sql
+++ b/scripts/mysql_system_tables.sql
@@ -133,8 +133,8 @@ SET @create_vtmd_template="CREATE TABLE IF NOT EXISTS vtmd_template (
start BIGINT UNSIGNED GENERATED ALWAYS AS ROW START COMMENT 'TRX_ID of table lifetime start',
end BIGINT UNSIGNED GENERATED ALWAYS AS ROW END COMMENT 'TRX_ID of table lifetime end',
name VARCHAR(64) NOT NULL COMMENT 'Table name during period [start, end)',
- frm_image BLOB NOT NULL COMMENT 'Table structure during period [start, end)',
- col_renames BLOB COMMENT 'Column name mapping from previous lifetime',
+ archive_name VARCHAR(64) NULL COMMENT 'Name of archive table',
+ col_renames BLOB COMMENT 'Column name mappings from previous lifetime',
PERIOD FOR SYSTEM_TIME(start, end),
PRIMARY KEY (end)
) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_bin STATS_PERSISTENT=0 WITH SYSTEM VERSIONING";