1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-35115 Inconsistent Replace behaviour when multiple unique index exist

- Replace statement fails with duplicate key error when multiple
unique key conflict happens. Reason is that Server expects the
InnoDB engine to store the confliciting keys in ascending order.
But the InnoDB doesn't store the conflicting keys
in ascending order.

Fix:
===
- Enable HA_DUPLICATE_KEY_NOT_IN_ORDER for InnoDB storage engine
only when unique index order is different in .frm and innodb dictionary.
This commit is contained in:
Thirunarayanan Balathandayuthapani
2024-11-08 12:15:55 +05:30
parent 98d57719e2
commit 7afee25b08
6 changed files with 156 additions and 5 deletions

View File

@ -0,0 +1,2 @@
[COPY]
[INPLACE]