Small final fixes before merge

This commit is contained in:
Igor Canadi
2014-04-07 15:38:53 -07:00
parent d1e2bce42d
commit 664559fe2d
2 changed files with 6 additions and 6 deletions

View File

@@ -104,6 +104,9 @@ class DB {
// that modify data, like put/delete, will return error.
// If the db is opened in read only mode, then no compactions
// will happen.
// TODO(icanadi): implement OpenForReadOnly that specifies column families.
// User can open DB in read-only mode even if not specifying all column
// families
static Status OpenForReadOnly(const Options& options,
const std::string& name, DB** dbptr,
bool error_if_log_file_exist = false);