mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-14823, MDEV-15956 Versioning error messages fixes
MDEV-14823 Wrong error message upon selecting from a system_time partition MDEV-15956 Strange ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN upon ALTER on versioning column
This commit is contained in:
committed by
Sergei Golubchik
parent
ce2cf855bf
commit
b1e75d290e
@ -449,5 +449,10 @@ create or replace table t (x int) with system versioning;
|
||||
alter table user add system versioning;
|
||||
use test;
|
||||
|
||||
--echo # MDEV-15956 Strange ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN upon ALTER on versioning column
|
||||
create or replace table t1 (i int, j int as (i), s timestamp(6) as row start, e timestamp(6) as row end, period for system_time(s,e)) with system versioning;
|
||||
--error ER_VERS_ALTER_SYSTEM_FIELD
|
||||
alter table t1 modify s timestamp(6) as row start;
|
||||
|
||||
drop database test;
|
||||
create database test;
|
||||
|
Reference in New Issue
Block a user