mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Add suppressions for PVS-Studio
This commit is contained in:
parent
eeaf65c043
commit
de1bc6d9f1
@ -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());
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user