diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-05-04 10:48:39 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-05-05 19:41:12 +0200 |
commit | 18502f99eb24f37d11e2431a89fd041cbdaea621 (patch) | |
tree | a142eb486765474b9b83cf94076cd627414ac019 /mysql-test/main/long_unique_bugs.result | |
parent | 67aaf51cf9ef95180702ca9ae6275631bb40e7c7 (diff) | |
download | mariadb-git-18502f99eb24f37d11e2431a89fd041cbdaea621.tar.gz |
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 f3f31eaa8e8 that extends it to UPDATE
Diffstat (limited to 'mysql-test/main/long_unique_bugs.result')
-rw-r--r-- | mysql-test/main/long_unique_bugs.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/main/long_unique_bugs.result b/mysql-test/main/long_unique_bugs.result index b1c881b0809..2b9ec4731de 100644 --- a/mysql-test/main/long_unique_bugs.result +++ b/mysql-test/main/long_unique_bugs.result @@ -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; |