mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -655,6 +655,28 @@ alter ignore table t1 drop pk;
|
||||
drop table t1;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-22660 SIGSEGV on adding system versioning and modifying system column
|
||||
--echo #
|
||||
create or replace table t1 (a int);
|
||||
--error ER_VERS_PERIOD_COLUMNS
|
||||
alter table t1
|
||||
add row_start timestamp(6) as row start,
|
||||
add row_end timestamp(6) as row end,
|
||||
add period for system_time(row_start, row_end),
|
||||
with system versioning,
|
||||
modify row_end varchar(8);
|
||||
--error ER_VERS_PERIOD_COLUMNS
|
||||
alter table t1
|
||||
add row_start timestamp(6) as row start,
|
||||
add row_end timestamp(6) as row end,
|
||||
add period for system_time(row_start, row_end),
|
||||
with system versioning,
|
||||
modify row_start varchar(8);
|
||||
# cleanup
|
||||
drop table t1;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-21941 RENAME doesn't work for system time or period fields
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user