Resolve "DB_LOG_* macros have a leaking lock"

Andrei Pavel requested to merge 1719-db_log_-macros-have-a-leaking-lock into master
Edited by Andrei Pavel

Merge request reports