Bug #119626 Adding an index using the inplace algorithm will result in a "Duplicate entry" error in the replace into syntax.
| Submitted: | 5 Jan 13:33 | Modified: | 6 Jan 1:30 |
|---|---|---|---|
| Reporter: | fei yang | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
| Version: | 8.0.41 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[5 Jan 13:33]
fei yang
[5 Jan 18:35]
Jean-François Gagné
Probably a duplicate of Bug#98600. And more information in this blog post: https://jfg-mysql.blogspot.com/2021/11/duplicate-entry-in-alter-table-and-in-optimize-tabl...
[5 Jan 18:39]
Jean-François Gagné
(sorry, I was too quick on this one, this is another issue)
[6 Jan 1:27]
fei yang
yes, it seems different from the Bug#98600, the duplicate entry error appear after add index, and this issue seems specific to `replace into`.
[6 Jan 1:30]
fei yang
What makes this use case special is that the values inserted in `replace into`, -9.183 and 7, are both duplicates.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.