Fix ifdef NDEBUG

main
Igor Canadi 11 years ago
parent fa430bfd04
commit 86ae8203e6
  1. 4
      util/sync_point.h

@ -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…
Cancel
Save