Skip to content

Commit

Permalink
Make format
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#5395

Differential Revision: D15581698

Pulled By: vjnadimpalli

fbshipit-source-id: f415972f16e784b1361714c202b97defcab46767
  • Loading branch information
vjnadimpalli authored and facebook-github-bot committed May 31, 2019
1 parent 49c5a12 commit cae22c5
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 22 deletions.
2 changes: 1 addition & 1 deletion db/column_family_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include <string>
#include <thread>

#include "db/db_test_util.h"
#include "db/db_impl/db_impl.h"
#include "db/db_test_util.h"
#include "memtable/hash_skiplist_rep.h"
#include "options/options_parser.h"
#include "port/port.h"
Expand Down
4 changes: 2 additions & 2 deletions db/compacted_db_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

#pragma once
#ifndef ROCKSDB_LITE
#include "db/db_impl/db_impl.h"
#include <vector>
#include <string>
#include <vector>
#include "db/db_impl/db_impl.h"

namespace rocksdb {

Expand Down
2 changes: 1 addition & 1 deletion db/compaction/compaction_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <unordered_set>
#include <vector>

#include "db/compaction/compaction_iteration_stats.h"
#include "db/compaction/compaction.h"
#include "db/compaction/compaction_iteration_stats.h"
#include "db/merge_helper.h"
#include "db/pinned_iterators_manager.h"
#include "db/range_del_aggregator.h"
Expand Down
2 changes: 1 addition & 1 deletion db/compaction/compaction_job.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <utility>
#include <vector>

#include "db/compaction/compaction_job.h"
#include "db/builder.h"
#include "db/compaction/compaction_job.h"
#include "db/db_impl/db_impl.h"
#include "db/db_iter.h"
#include "db/dbformat.h"
Expand Down
2 changes: 1 addition & 1 deletion db/db_impl/db_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "db/internal_stats.h"
#include "db/log_writer.h"
#include "db/logs_with_prep_tracker.h"
#include "db/memtable_list.h"
#include "db/pre_release_callback.h"
#include "db/range_del_aggregator.h"
#include "db/read_callback.h"
Expand All @@ -39,7 +40,6 @@
#include "db/wal_manager.h"
#include "db/write_controller.h"
#include "db/write_thread.h"
#include "db/memtable_list.h"
#include "monitoring/instrumented_mutex.h"
#include "options/db_options.h"
#include "port/port.h"
Expand Down
2 changes: 1 addition & 1 deletion db/db_impl/db_impl_readonly.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#include "db/db_impl/db_impl_readonly.h"

#include "db/compacted_db_impl.h"
#include "db/db_impl/db_impl.h"
#include "db/db_iter.h"
#include "db/merge_context.h"
#include "db/db_impl/db_impl.h"
#include "monitoring/perf_context_imp.h"

namespace rocksdb {
Expand Down
2 changes: 1 addition & 1 deletion db/db_impl/db_secondary_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include "db/db_test_util.h"
#include "db/db_impl/db_impl_secondary.h"
#include "db/db_test_util.h"
#include "port/stack_trace.h"
#include "test_util/fault_injection_test_env.h"
#include "test_util/sync_point.h"
Expand Down
2 changes: 1 addition & 1 deletion db/db_iter.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
#pragma once
#include <stdint.h>
#include <string>
#include "db/db_impl/db_impl.h"
#include "db/dbformat.h"
#include "db/range_del_aggregator.h"
#include "memory/arena.h"
#include "db/db_impl/db_impl.h"
#include "options/cf_options.h"
#include "rocksdb/db.h"
#include "rocksdb/iterator.h"
Expand Down
2 changes: 1 addition & 1 deletion db/db_options_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include <unordered_map>

#include "db/column_family.h"
#include "db/db_test_util.h"
#include "db/db_impl/db_impl.h"
#include "db/db_test_util.h"
#include "options/options_helper.h"
#include "port/stack_trace.h"
#include "rocksdb/cache.h"
Expand Down
2 changes: 1 addition & 1 deletion db/error_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// (found in the LICENSE.Apache file in the root directory).
//
#include "db/error_handler.h"
#include "db/event_helpers.h"
#include "db/db_impl/db_impl.h"
#include "db/event_helpers.h"
#include "file/sst_file_manager_impl.h"

namespace rocksdb {
Expand Down
2 changes: 1 addition & 1 deletion db/fault_injection_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
// the last "sync". It then checks for data loss errors by purposely dropping
// file data (or entire files) not protected by a "sync".

#include "db/db_impl/db_impl.h"
#include "db/log_format.h"
#include "db/version_set.h"
#include "db/db_impl/db_impl.h"
#include "env/mock_env.h"
#include "file/filename.h"
#include "rocksdb/cache.h"
Expand Down
2 changes: 1 addition & 1 deletion db/listener_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).

#include "db/db_impl/db_impl.h"
#include "db/db_test_util.h"
#include "db/dbformat.h"
#include "db/version_set.h"
#include "db/write_batch_internal.h"
#include "db/db_impl/db_impl.h"
#include "file/filename.h"
#include "memtable/hash_linklist_rep.h"
#include "monitoring/statistics.h"
Expand Down
5 changes: 1 addition & 4 deletions db/merge_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <memory>
#include <iostream>

#include "db/dbformat.h"
#include "db/db_impl/db_impl.h"
#include "db/dbformat.h"
#include "db/write_batch_internal.h"
#include "port/stack_trace.h"
#include "rocksdb/cache.h"
Expand All @@ -18,9 +18,6 @@
#include "rocksdb/merge_operator.h"
#include "rocksdb/utilities/db_ttl.h"
#include "test_util/testharness.h"
#include "db/dbformat.h"
#include "db/write_batch_internal.h"
#include "db/db_impl/db_impl.h"
#include "utilities/merge_operators.h"

namespace rocksdb {
Expand Down
2 changes: 1 addition & 1 deletion db/write_batch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
#include <vector>

#include "db/column_family.h"
#include "db/db_impl/db_impl.h"
#include "db/dbformat.h"
#include "db/flush_scheduler.h"
#include "db/memtable.h"
#include "db/merge_context.h"
#include "db/snapshot_impl.h"
#include "db/write_batch_internal.h"
#include "db/db_impl/db_impl.h"
#include "monitoring/perf_context_imp.h"
#include "monitoring/statistics.h"
#include "rocksdb/merge_operator.h"
Expand Down
2 changes: 1 addition & 1 deletion utilities/transactions/transaction_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

#include <inttypes.h>

#include "db/db_impl/db_impl.h"
#include "db/column_family.h"
#include "db/db_impl/db_impl.h"
#include "rocksdb/comparator.h"
#include "rocksdb/db.h"
#include "rocksdb/status.h"
Expand Down
6 changes: 3 additions & 3 deletions utilities/ttl/db_ttl_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
#include <string>
#include <vector>

#include "db/db_impl/db_impl.h"
#include "rocksdb/compaction_filter.h"
#include "rocksdb/db.h"
#include "rocksdb/env.h"
#include "rocksdb/compaction_filter.h"
#include "rocksdb/merge_operator.h"
#include "rocksdb/utilities/utility_db.h"
#include "rocksdb/utilities/db_ttl.h"
#include "db/db_impl/db_impl.h"
#include "rocksdb/utilities/utility_db.h"

#ifdef _WIN32
// Windows API macro interference
Expand Down

0 comments on commit cae22c5

Please sign in to comment.