mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Merge 10.5 into 10.6
The changes to galera.galear_var_replicate_myisam_on in commitd9b933bec6
are omitted due to conflicts with commit27d66d644c
.
This commit is contained in:
@@ -763,6 +763,25 @@ set system_versioning_alter_history= keep;
|
||||
alter ignore table t1 drop pk;
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-22660 SIGSEGV on adding system versioning and modifying system column
|
||||
#
|
||||
create or replace table t1 (a int);
|
||||
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 HY000: PERIOD FOR SYSTEM_TIME must use columns `row_start` and `row_end`
|
||||
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);
|
||||
ERROR HY000: PERIOD FOR SYSTEM_TIME must use columns `row_start` and `row_end`
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-21941 RENAME doesn't work for system time or period fields
|
||||
#
|
||||
create or replace table t1 (a int) with system versioning;
|
||||
|
Reference in New Issue
Block a user