From 86ae8203e6f62f60eeeeb2e75b4aa4d68abe2b8d Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 17 Apr 2014 14:29:06 -0700 Subject: [PATCH] Fix ifdef NDEBUG --- util/sync_point.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/sync_point.h b/util/sync_point.h index 3e880213e..b4b61a9fc 100644 --- a/util/sync_point.h +++ b/util/sync_point.h @@ -11,12 +11,12 @@ #include #include -namespace rocksdb { - #ifdef NDEBUG #define TEST_SYNC_POINT(x) #else +namespace rocksdb { + // This class provides facility to reproduce race conditions deterministically // in unit tests. // Developer could specify sync points in the codebase via TEST_SYNC_POINT.