Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6.16, 11.0.4
-
None
-
None
Description
According to https://mariadb.com/kb/en/trigger-overview/ - the following triggers should fire when an ON DUPLICATE KEY insert is used and a duplicate is detected:
BEFORE INSERT;
BEFORE UPDATE;
AFTER UPDATE.
We're seeing that the AFTER UPDATE trigger never fires when a duplicate row is inserted. See attached test case and output.
Tested on 10.6.16 and 11.0.4