|
|
|
@ -212,7 +212,7 @@ class Counters { |
|
|
|
|
void assert_add(const string& key, uint64_t value) { |
|
|
|
|
int result = add(key, value); |
|
|
|
|
assert(result); |
|
|
|
|
if (result == 0) exit(1); // Disable unused variable warning.
|
|
|
|
|
if (result == 0) exit(1); // Disable unused variable warning.
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -480,6 +480,7 @@ void runTest(int argc, const string& dbname, const bool use_ttl = false) { |
|
|
|
|
DestroyDB(dbname, Options()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Temporary remove this test
|
|
|
|
|
{ |
|
|
|
|
cout << "Test merge-operator not set after reopen (recovery case)\n"; |
|
|
|
|
{ |
|
|
|
@ -493,6 +494,7 @@ void runTest(int argc, const string& dbname, const bool use_ttl = false) { |
|
|
|
|
DB* reopen_db; |
|
|
|
|
ASSERT_TRUE(DB::Open(Options(), dbname, &reopen_db).IsInvalidArgument()); |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|