diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 8f3ae3536..f02216259 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -2856,7 +2856,6 @@ void VerifyDBFromDB(std::string& truth_db_name) { assert(db_.db == nullptr); - options.create_missing_column_families = FLAGS_num_column_families > 1; options.max_open_files = FLAGS_open_files; if (FLAGS_cost_write_buffer_to_cache || FLAGS_db_write_buffer_size != 0) { options.write_buffer_manager.reset( @@ -3203,6 +3202,7 @@ void VerifyDBFromDB(std::string& truth_db_name) { void InitializeOptionsGeneral(Options* opts) { Options& options = *opts; + options.create_missing_column_families = FLAGS_num_column_families > 1; options.statistics = dbstats; options.wal_dir = FLAGS_wal_dir; options.create_if_missing = !FLAGS_use_existing_db;