diff --git a/src/Functions/runningAccumulate.cpp b/src/Functions/runningAccumulate.cpp index 7c1b1f7162e..0fe354e30c0 100644 --- a/src/Functions/runningAccumulate.cpp +++ b/src/Functions/runningAccumulate.cpp @@ -120,8 +120,8 @@ public: state_created = false; } - agg_func.create(place.data()); - state_created = true; + agg_func.create(place.data()); /// This function can throw. + state_created = true; //-V519 } agg_func.merge(place.data(), state_to_add, arena.get()); diff --git a/src/Parsers/ASTCreateQuery.cpp b/src/Parsers/ASTCreateQuery.cpp index 1192fcc6ebd..d4c7312f437 100644 --- a/src/Parsers/ASTCreateQuery.cpp +++ b/src/Parsers/ASTCreateQuery.cpp @@ -327,7 +327,7 @@ void ASTCreateQuery::formatQueryImpl(const FormatSettings & settings, FormatStat FormatStateStacked frame_nested = frame; columns_list->formatImpl(settings, state, frame_nested); settings.ostr << (settings.one_line ? ")" : "\n)"); - frame.expression_list_always_start_on_new_line = false; + frame.expression_list_always_start_on_new_line = false; //-V519 } settings.ostr << (settings.hilite ? hilite_keyword : "") << " AS " << (settings.hilite ? hilite_none : ""); @@ -355,7 +355,7 @@ void ASTCreateQuery::formatQueryImpl(const FormatSettings & settings, FormatStat settings.ostr << (settings.one_line ? ")" : "\n)"); } - frame.expression_list_always_start_on_new_line = false; + frame.expression_list_always_start_on_new_line = false; //-V519 if (storage) storage->formatImpl(settings, state, frame);