1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

ALTER TABLE ... DROP COLUMN sys_start

update all unique keys, not just PK
This commit is contained in:
Sergei Golubchik
2018-02-09 17:30:20 +01:00
parent dfd42ed990
commit 4fd48678ae
4 changed files with 30 additions and 64 deletions

View File

@ -267,6 +267,12 @@ select * from t for system_time all;
insert into t values (4, 0);
select * from t for system_time all;
create or replace table t (a int, b int primary key, c int unique) with system versioning;
insert t values (1,2,3),(1,3,4),(1,4,5);
alter table t drop system versioning;
show create table t;
select * from t;
create or replace table t (
a int,
row_start timestamp(6) as row start invisible,