From 7700b94d33f6b7b6c554aa6e623f6e3a86d0ef0f Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 9 May 2012 01:40:33 -0400 Subject: [PATCH] Fix DEBUG_LOCKCONTENTION --- src/util.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util.h b/src/util.h index 15ccf82f9aa..f2a70d839ab 100644 --- a/src/util.h +++ b/src/util.h @@ -217,9 +217,11 @@ public: { printf("LOCKCONTENTION: %s\n", pszName); printf("Locker: %s:%d\n", pszFile, nLine); - } #endif lock.lock(); +#ifdef DEBUG_LOCKCONTENTION + } +#endif } }