Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
CREATE TABLE t (b BLOB, UNIQUE(b)) ENGINE=MyISAM; |
INSERT INTO t VALUES ('foo'); |
REPLACE INTO t VALUES ('foo'); |
 |
# Cleanup
|
DROP TABLE t; |
bb-10.4-release-long_unique 5ddae0e0 |
mysqltest: At line 3: query 'REPLACE INTO t VALUES ('foo')' failed: 1062: Duplicate entry 'foo' for key 'b'
|
I'm not sure whether it's supposed to work or not.
InnoDB currently produces an assertion failure similar to MDEV-18731.
Attachments
Issue Links
- duplicates
-
MDEV-18763 mi_rrnd: Conditional jump or move depends on uninitialised value upon inserting into blob with long key
- Closed
- is caused by
-
MDEV-371 Unique indexes for blobs
- Closed
- relates to
-
MDEV-30046 wrong row targeted with "insert ... on duplicate" and "replace", leading to data corruption
- Closed