mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -35,7 +35,9 @@ replace t values (1, 3);
|
||||
select *, current_row(row_end) as current from t for system_time all order by x;
|
||||
drop table t;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-15645 Assertion `table->insert_values' failed in write_record upon REPLACE into a view with underlying versioned table
|
||||
--echo #
|
||||
create or replace table t1 (a int, b int, primary key (a), unique(b)) with system versioning;
|
||||
insert into t1 values (1,1);
|
||||
create or replace table t2 (c int);
|
||||
@@ -59,7 +61,9 @@ UPDATE IGNORE t1 SET f = 1;
|
||||
REPLACE t1 SELECT * FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-22540 ER_DUP_ENTRY upon REPLACE or Assertion failed
|
||||
--echo #
|
||||
set timestamp=1589245268.41934;
|
||||
create table t1 (a int primary key) with system versioning;
|
||||
insert into t1 values (1),(2);
|
||||
@@ -105,4 +109,15 @@ drop table t1;
|
||||
eval set default_storage_engine= $default_engine;
|
||||
--enable_query_log
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-35343 unexpected replace behaviour when long unique index on system versioned table
|
||||
--echo #
|
||||
create table t1 (data char(10));
|
||||
insert into t1 values ('o');
|
||||
alter ignore table t1 add unique index (data);
|
||||
alter ignore table t1 add unique index (data);
|
||||
alter table t1 add system versioning;
|
||||
replace into t1 values ('o'), ('o');
|
||||
drop table t1;
|
||||
|
||||
--source suite/versioning/common_finish.inc
|
||||
|
Reference in New Issue
Block a user