mirror of https://github.com/facebook/rocksdb.git
fix filename_test
Summary: as subject Test Plan: run filename_test Reviewers: dhruba Differential Revision: https://reviews.facebook.net/D4965
This commit is contained in:
parent
690bf88682
commit
935fdd030b
|
@ -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…
Reference in New Issue