From 7de4e99a8eedcff113e3d6e74d50a051f6a96c89 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Thu, 5 Feb 2015 11:44:17 -0800 Subject: [PATCH] Revert "Fix wal_dir not getting cleaned" This reverts commit f36d394aeddf420661e54a1a0a54fcc790c9cffb. --- db/db_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index 66e47c6805..720978021c 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;