mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
The bug is that we don't have a a lock on the trigger name, so it is possible for two threads to try to create the same trigger at the same time and both thinks that they have succeed. Same thing can happen with drop trigger or a combinations of create and drop trigger. Fixed by adding a mdl lock for the trigger name for the duration of the create/drop.
89 KiB
89 KiB