Skip to content

Commit 86ae820

Browse files
committed
Fix ifdef NDEBUG
1 parent fa430bf commit 86ae820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/sync_point.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
#include <unordered_map>
1212
#include <vector>
1313

14-
namespace rocksdb {
15-
1614
#ifdef NDEBUG
1715
#define TEST_SYNC_POINT(x)
1816
#else
1917

18+
namespace rocksdb {
19+
2020
// This class provides facility to reproduce race conditions deterministically
2121
// in unit tests.
2222
// Developer could specify sync points in the codebase via TEST_SYNC_POINT.

0 commit comments

Comments
 (0)