Fix wal_dir not getting cleaned

main
Igor Canadi 10 years ago
parent 53ae09c398
commit f36d394aed
  1. 3
      db/db_test.cc

@ -2596,7 +2596,8 @@ TEST(DBTest, IgnoreRecoveredLog) {
options.create_if_missing = true; options.create_if_missing = true;
options.merge_operator = MergeOperators::CreateUInt64AddOperator(); options.merge_operator = MergeOperators::CreateUInt64AddOperator();
options.wal_dir = dbname_ + "/logs"; options.wal_dir = dbname_ + "/logs";
DestroyAndReopen(options); Destroy(options);
Reopen(options);
// fill up the DB // fill up the DB
std::string one, two; std::string one, two;

Loading…
Cancel
Save