From 2ea78ec7fd1624e88a3067f8a6a77ec0e7325063 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 5f8d0375..81b36d31 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 } }