fix the asan check

Summary: as title

Test Plan: ran it

Reviewers: yhchiang, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D28311
main
Lei Jin 10 years ago
parent 83bf09144b
commit b1267750fb
  1. 2
      db/db_impl.cc

@ -3047,7 +3047,7 @@ Status DBImpl::DeleteFile(std::string name) {
vstoreage->LevelFiles(0).back()->fd.GetNumber() != number) {
Log(InfoLogLevel::WARN_LEVEL, db_options_.info_log,
"DeleteFile %s failed ---"
" target file in level 0 must be the oldest.");
" target file in level 0 must be the oldest.", name.c_str());
return Status::InvalidArgument("File in level 0, but not oldest");
}
edit.SetColumnFamily(cfd->GetID());

Loading…
Cancel
Save