mirror of
https://github.com/MariaDB/server.git
synced 2025-10-24 07:13:33 +03:00
innodb_debug_sync was introduced in commitb393e2cb0cand reverted in commitfc58c17216due to memory leak reported by valgrind, see MDEV-21336. The leak is now fixed by adding `rw_lock_free(&slot->debug_sync_lock)` after background thread working loop is finished, and the patch is reapplied, with respect to c++98 fixes by Marko. The missing DEBUG_SYNC for MDEV-18546 in row0vers.cc is also reapplied.