fix filename_test

Summary: as subject

Test Plan: run filename_test

Reviewers: dhruba

Differential Revision: https://reviews.facebook.net/D4965
main
heyongqiang 12 years ago
parent 690bf88682
commit 935fdd030b
  1. 2
      db/filename.cc

@ -84,7 +84,7 @@ bool ParseFileName(const std::string& fname,
} else if (rest == "LOCK") {
*number = 0;
*type = kDBLockFile;
} else if (rest == "LOG") {
} else if (rest == "LOG" || rest == "LOG.old") {
*number = 0;
*type = kInfoLogFile;
} else if (rest.starts_with("LOG.old.")) {

Loading…
Cancel
Save