Details
Description
create table x (id int auto_increment primary key, name varchar(2048) collate utf8_general_ci, unique key u(name)); |
insert into x values (1,'test'); |
update x set name = "Test" where id=1 |
 |
Duplicate entry 'Test' for key 'u |
A smaller varchar length ~200 will not generate an error.
Suspected MDEV-371 regression.
source: https://www.reddit.com/r/mariadb/comments/wu83pe/change_case_with_unique_constraint/
Attachments
Issue Links
- is caused by
-
MDEV-371 Unique indexes for blobs
- Closed
- is duplicated by
-
MDEV-34052 long uniques false positive when a row value changes letter case
- Closed
- relates to
-
MDEV-27653 long uniques don't work with unicode collations
- Closed
- links to