mirror of
https://github.com/MariaDB/server.git
synced 2025-04-02 13:25:43 +02:00
![]() system versioned table For versioned table REPLACE first tries to insert a row, if it gets duplicate key error and optimization is possible it does UPDATE + INSERT history. If optimization is not possible it goes normal branch for UPDATE to history and repeats the cycle of INSERT. The failure was in normal branch when we tried UPDATE to history but such history already exists from previous cycles. There is no such failures in optimized branch because vers_insert_history_row() already ignores duplicates. The fix ignores duplicate errors for UPDATE to history and does DELETE instead. |
||
---|---|---|
.. | ||
r | ||
t | ||
common.inc | ||
common.opt | ||
common_finish.inc | ||
disabled.def | ||
engines.combinations | ||
engines.inc | ||
innodb.combinations | ||
innodb.inc | ||
key_type.combinations | ||
key_type.inc | ||
wait_system_clock.inc |