From 94c2427f55c3dab2c0bc09c57c95595b8a757687 Mon Sep 17 00:00:00 2001 From: groot Date: Thu, 14 Nov 2019 19:39:35 +0800 Subject: [PATCH] code lint --- core/src/db/DBImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/db/DBImpl.cpp b/core/src/db/DBImpl.cpp index 9898751c9f..d688c88ff2 100644 --- a/core/src/db/DBImpl.cpp +++ b/core/src/db/DBImpl.cpp @@ -622,10 +622,10 @@ DBImpl::StartCompactionTask() { // collect merge files for all tables(if compact_table_ids_ is empty) for two reasons: // 1. other tables may still has un-merged files // 2. server may be closed unexpected, these un-merge files need to be merged when server restart - if(compact_table_ids_.empty()) { + if (compact_table_ids_.empty()) { std::vector table_schema_array; meta_ptr_->AllTables(table_schema_array); - for( auto& schema : table_schema_array) { + for (auto& schema : table_schema_array) { compact_table_ids_.insert(schema.table_id_); } }