Fix ifdef NDEBUG
This commit is contained in:
parent
fa430bfd04
commit
86ae8203e6
@ -11,12 +11,12 @@
|
|||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace rocksdb {
|
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#define TEST_SYNC_POINT(x)
|
#define TEST_SYNC_POINT(x)
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
namespace rocksdb {
|
||||||
|
|
||||||
// This class provides facility to reproduce race conditions deterministically
|
// This class provides facility to reproduce race conditions deterministically
|
||||||
// in unit tests.
|
// in unit tests.
|
||||||
// Developer could specify sync points in the codebase via TEST_SYNC_POINT.
|
// Developer could specify sync points in the codebase via TEST_SYNC_POINT.
|
||||||
|
Loading…
Reference in New Issue
Block a user