Fix wal_dir not getting cleaned

This commit is contained in:
Igor Canadi 2015-02-04 18:57:22 -08:00
parent 53ae09c398
commit f36d394aed

View file

@ -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;