1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-15062 Information Schema COLUMNS Table does not show system versioning information

get_schema_column_record(): print 'WITHOUT SYSTEM VERSIONING` in 'EXTRA'
for such fields
This commit is contained in:
Eugene Kosov
2018-03-16 15:47:48 +03:00
committed by Sergei Golubchik
parent 339b905579
commit bb56a06d26
3 changed files with 24 additions and 0 deletions

View File

@ -61,4 +61,15 @@ a b
3 4
select * from t for system_time as of timestamp now(6) where b is NULL;
a b
create or replace table t (x int with system versioning, y int);
select column_name, extra from information_schema.columns where table_name='t';
column_name extra
x
y WITHOUT SYSTEM VERSIONING
show create table t;
Table Create Table
t CREATE TABLE `t` (
`x` int(11) DEFAULT NULL,
`y` int(11) DEFAULT NULL WITHOUT SYSTEM VERSIONING
) ENGINE=MyISAM DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING
drop table t;