1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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:
Aleksey Midenkov
2018-04-24 12:10:52 +03:00
committed by Sergei Golubchik
parent ce2cf855bf
commit b1e75d290e
7 changed files with 22 additions and 6 deletions

View File

@ -425,6 +425,11 @@ update t1 set a = 4;
delete from t1;
delete from t1 where a is not null;
--echo # MDEV-14823 Wrong error message upon selecting from a system_time partition
create or replace table t1 (i int) with system versioning partition by system_time limit 10 (partition p0 history, partition pn current);
--error ER_VERS_QUERY_IN_PARTITION
select * from t1 partition (p0) for system_time all;
--echo # Test cleanup
drop database test;
create database test;