mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-19049 Server crashes in check_duplicate_long_entry_key, ASAN stack-buffer-overflow in Field_blob::get_key_image
Long Unique keys should always be last unique key.
This commit is contained in:
@@ -9,8 +9,8 @@ Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` blob DEFAULT NULL,
|
||||
`c` int(11) DEFAULT NULL,
|
||||
UNIQUE KEY `a` (`a`) USING HASH,
|
||||
UNIQUE KEY `c` (`c`)
|
||||
UNIQUE KEY `c` (`c`),
|
||||
UNIQUE KEY `a` (`a`) USING HASH
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
#test for concurrent insert of long unique in innodb
|
||||
|
Reference in New Issue
Block a user