mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-31 01:45:34 -04:00
zmDbDo suppresses its Error log on 1213 inside a caller-managed TX (the caller owns the retry), and the previous fallthrough at the end of the retry loop just `return`ed silently. After 5 failed attempts on persistent contention the event was effectively un-deleted with no record of the failure. Capture errstr before rollback (some drivers clear it) and emit an Error on the bail path.