remove dead code
Summary: as title Test Plan: make db_test
This commit is contained in:
parent
9ab0132360
commit
2d4fe048f4
@ -718,15 +718,6 @@ class DBTest {
|
|||||||
|
|
||||||
Status TryReopen(const Options& options) {
|
Status TryReopen(const Options& options) {
|
||||||
Close();
|
Close();
|
||||||
/*
|
|
||||||
Options opts;
|
|
||||||
if (options != nullptr) {
|
|
||||||
opts = *options;
|
|
||||||
} else {
|
|
||||||
opts = CurrentOptions();
|
|
||||||
opts.create_if_missing = true;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
last_options_ = options;
|
last_options_ = options;
|
||||||
return DB::Open(options, dbname_, &db_);
|
return DB::Open(options, dbname_, &db_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user