diff --git a/dbms/src/Debug/dbgFuncMockRaftSnapshot.cpp b/dbms/src/Debug/dbgFuncMockRaftSnapshot.cpp index 1062b471b62..07dd5db0dea 100644 --- a/dbms/src/Debug/dbgFuncMockRaftSnapshot.cpp +++ b/dbms/src/Debug/dbgFuncMockRaftSnapshot.cpp @@ -291,27 +291,27 @@ SSTReaderPtr fn_get_sst_reader(SSTView v, RaftStoreProxyPtr) } uint8_t fn_remained(SSTReaderPtr ptr, ColumnFamilyType) { - auto *reader = reinterpret_cast(ptr.inner); + auto * reader = reinterpret_cast(ptr.inner); return reader->ffiRemained(); } BaseBuffView fn_key(SSTReaderPtr ptr, ColumnFamilyType) { - auto *reader = reinterpret_cast(ptr.inner); + auto * reader = reinterpret_cast(ptr.inner); return reader->ffiKey(); } BaseBuffView fn_value(SSTReaderPtr ptr, ColumnFamilyType) { - auto *reader = reinterpret_cast(ptr.inner); + auto * reader = reinterpret_cast(ptr.inner); return reader->ffiVal(); } void fn_next(SSTReaderPtr ptr, ColumnFamilyType) { - auto *reader = reinterpret_cast(ptr.inner); + auto * reader = reinterpret_cast(ptr.inner); reader->ffiNext(); } void fn_gc(SSTReaderPtr ptr, ColumnFamilyType) { - auto *reader = reinterpret_cast(ptr.inner); + auto * reader = reinterpret_cast(ptr.inner); delete reader; } diff --git a/dbms/src/Debug/dbgTools.cpp b/dbms/src/Debug/dbgTools.cpp index 110e963d7ac..89e912cde18 100644 --- a/dbms/src/Debug/dbgTools.cpp +++ b/dbms/src/Debug/dbgTools.cpp @@ -548,7 +548,7 @@ Int64 concurrentRangeOperate( std::list threads; Int64 tol = 0; - for (const auto& region : regions) + for (const auto & region : regions) { const auto range = region->getRange(); const auto & [ss, ee] = getHandleRangeByTable(range->rawKeys(), table_info.id);