diff --git a/dbms/src/Functions/arrayEnumerateExtended.h b/dbms/src/Functions/arrayEnumerateExtended.h index a0ceed86b4a..9d9c52ab6ea 100644 --- a/dbms/src/Functions/arrayEnumerateExtended.h +++ b/dbms/src/Functions/arrayEnumerateExtended.h @@ -328,7 +328,7 @@ bool FunctionArrayEnumerateExtended::execute128bit( size_t rank = 0; for (size_t j = prev_off; j < off; ++j) { - auto &idx = indices[packFixed(j, count, columns, key_sizes)];; + auto & idx = indices[packFixed(j, count, columns, key_sizes)]; if (!idx) idx = ++rank; res_values[j] = idx; diff --git a/dbms/src/Interpreters/AsynchronousMetrics.cpp b/dbms/src/Interpreters/AsynchronousMetrics.cpp index 52983674cfc..9fdcf1d4e13 100644 --- a/dbms/src/Interpreters/AsynchronousMetrics.cpp +++ b/dbms/src/Interpreters/AsynchronousMetrics.cpp @@ -268,7 +268,7 @@ void AsynchronousMetrics::update() set("jemalloc." NAME, value); \ } while (0); - FOR_EACH_METRIC(GET_METRIC); + FOR_EACH_METRIC(GET_METRIC) #undef GET_METRIC #undef FOR_EACH_METRIC diff --git a/dbms/src/Interpreters/InterpreterKillQueryQuery.cpp b/dbms/src/Interpreters/InterpreterKillQueryQuery.cpp index 31535bc4bbe..fcb7b74bdbd 100644 --- a/dbms/src/Interpreters/InterpreterKillQueryQuery.cpp +++ b/dbms/src/Interpreters/InterpreterKillQueryQuery.cpp @@ -43,7 +43,7 @@ static const char * cancellationCodeToStatus(CancellationCode code) return "waiting"; default: return "unknown_status"; - }; + } } diff --git a/dbms/src/Storages/Distributed/DirectoryMonitor.cpp b/dbms/src/Storages/Distributed/DirectoryMonitor.cpp index 723e482e070..1c468425aac 100644 --- a/dbms/src/Storages/Distributed/DirectoryMonitor.cpp +++ b/dbms/src/Storages/Distributed/DirectoryMonitor.cpp @@ -157,7 +157,7 @@ void StorageDistributedDirectoryMonitor::run() std::chrono::milliseconds{Int64(default_sleep_time.count() * std::exp2(error_count))}, std::chrono::milliseconds{max_sleep_time}); tryLogCurrentException(getLoggerName().data()); - }; + } if (do_sleep) cond.wait_for(lock, sleep_time, quit_requested); diff --git a/dbms/src/Storages/MergeTree/MergeTreeSettings.cpp b/dbms/src/Storages/MergeTree/MergeTreeSettings.cpp index 36b222add71..65b800460ed 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeSettings.cpp +++ b/dbms/src/Storages/MergeTree/MergeTreeSettings.cpp @@ -68,7 +68,7 @@ void MergeTreeSettings::loadFromQuery(ASTStorage & storage_def) == changes.end()) \ changes.push_back(ASTSetQuery::Change{#NAME, NAME.value}); - APPLY_FOR_IMMUTABLE_MERGE_TREE_SETTINGS(ADD_IF_ABSENT); + APPLY_FOR_IMMUTABLE_MERGE_TREE_SETTINGS(ADD_IF_ABSENT) #undef ADD_IF_ABSENT } diff --git a/libs/libmysqlxx/include/mysqlxx/Value.h b/libs/libmysqlxx/include/mysqlxx/Value.h index 889a97ea05b..c3460f917a1 100644 --- a/libs/libmysqlxx/include/mysqlxx/Value.h +++ b/libs/libmysqlxx/include/mysqlxx/Value.h @@ -69,7 +69,7 @@ public: if (unlikely(isNull())) throwException("Value is NULL"); - return readUIntText(m_data, m_length);; + return readUIntText(m_data, m_length); } /// Получить целое со знаком или дату или дату-время (в unix timestamp согласно текущей тайм-зоне). @@ -190,7 +190,7 @@ private: Int64 getIntImpl() const { - return readIntText(m_data, m_length);; + return readIntText(m_data, m_length); }