| 55 | std::string LockFileName(const std::string& dbname) { return dbname + "/LOCK"; } |
| 56 | |
| 57 | std::string TempFileName(const std::string& dbname, uint64_t number) { |
| 58 | assert(number > 0); |
| 59 | return MakeFileName(dbname, number, "dbtmp"); |
| 60 | } |
| 61 | |
| 62 | std::string InfoLogFileName(const std::string& dbname) { |
| 63 | return dbname + "/LOG"; |