diff --git a/db/db_test.cc b/db/db_test.cc index 66e47c680..720978021 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2596,8 +2596,7 @@ TEST(DBTest, IgnoreRecoveredLog) { options.create_if_missing = true; options.merge_operator = MergeOperators::CreateUInt64AddOperator(); options.wal_dir = dbname_ + "/logs"; - Destroy(options); - Reopen(options); + DestroyAndReopen(options); // fill up the DB std::string one, two;