Commit 1a06a482 authored by Sergei Golubchik's avatar Sergei Golubchik Committed by Eugene Kosov

Tests: ER_VERS_DUPLICATE_ROW_START_END check

parent 759843ae
......@@ -353,6 +353,14 @@ Sys_end timestamp(6) as row end invisible,
period for system_time (Sys_start, Sys_end)
) with system versioning;
ERROR HY000: Duplicate ROW START column `Sys_start`
create or replace table t1 (
x29 int unsigned,
Sys_end0 timestamp(6) as row end invisible,
Sys_start timestamp(6) as row start invisible,
Sys_end timestamp(6) as row end invisible,
period for system_time (Sys_start, Sys_end)
) with system versioning;
ERROR HY000: Duplicate ROW END column `Sys_end`
## System fields detection
create or replace table t1 (x30 int) with system versioning;
create or replace table t2 (
......
......@@ -325,6 +325,15 @@ create or replace table t1 (
period for system_time (Sys_start, Sys_end)
) with system versioning;
--error ER_VERS_DUPLICATE_ROW_START_END
create or replace table t1 (
x29 int unsigned,
Sys_end0 timestamp(6) as row end invisible,
Sys_start timestamp(6) as row start invisible,
Sys_end timestamp(6) as row end invisible,
period for system_time (Sys_start, Sys_end)
) with system versioning;
--echo ## System fields detection
create or replace table t1 (x30 int) with system versioning;
--replace_result $default_engine DEFAULT_ENGINE $sys_datatype SYS_DATATYPE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment