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

Tests: ER_VERS_DUPLICATE_ROW_START_END check

This commit is contained in:
Sergei Golubchik
2017-12-23 12:23:04 +01:00
committed by Eugene Kosov
parent 759843ae60
commit 1a06a48230
2 changed files with 17 additions and 0 deletions

View File

@ -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 (