remove dead code

Summary:
as title

Test Plan:
make db_test
This commit is contained in:
Lei Jin 2014-10-29 13:38:06 -07:00
parent 9ab0132360
commit 2d4fe048f4

View File

@ -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_);
} }