mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-22185 Failing assertion: node->pcur->rel_pos == BTR_PCUR_ON or ER_KEY_NOT_FOUND or Assertion `inited==NONE' failed in handler::ha_index_init
long unique checks should be done for a partitioned table as a whole,
not for individual partitions.
Followup for f3f31eaa8e
that extends it to UPDATE
This commit is contained in:
@ -337,3 +337,7 @@ a b
|
||||
1 foo
|
||||
3 bar
|
||||
drop table if exists t1, t2;
|
||||
create table t1 (a int, b int, unique (b) using hash) engine=innodb partition by key (a) partitions 2;
|
||||
insert into t1 values (1,10),(2,20);
|
||||
update t1 set b = 30 limit 1;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user