mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
utils/check-style/fix-style #2387
This commit is contained in:
parent
a4b04739c8
commit
74a6b0010f
@ -5,7 +5,6 @@
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
/** Element of expression with ASC or DESC,
|
||||
* and possibly with COLLATE.
|
||||
*/
|
||||
@ -20,18 +19,21 @@ public:
|
||||
ASTPtr collation;
|
||||
|
||||
ASTOrderByElement(
|
||||
const int direction_,
|
||||
const int nulls_direction_,
|
||||
const bool nulls_direction_was_explicitly_specified_,
|
||||
ASTPtr & collation_)
|
||||
:
|
||||
direction(direction_), nulls_direction(nulls_direction_),
|
||||
nulls_direction_was_explicitly_specified(nulls_direction_was_explicitly_specified_),
|
||||
collation(collation_) {}
|
||||
const int direction_, const int nulls_direction_, const bool nulls_direction_was_explicitly_specified_, ASTPtr & collation_)
|
||||
: direction(direction_)
|
||||
, nulls_direction(nulls_direction_)
|
||||
, nulls_direction_was_explicitly_specified(nulls_direction_was_explicitly_specified_)
|
||||
, collation(collation_)
|
||||
{
|
||||
}
|
||||
|
||||
String getID() const override { return "OrderByElement"; }
|
||||
String getID() const override
|
||||
{
|
||||
return "OrderByElement";
|
||||
}
|
||||
|
||||
ASTPtr clone() const override {
|
||||
ASTPtr clone() const override
|
||||
{
|
||||
auto clone = std::make_shared<ASTOrderByElement>(*this);
|
||||
clone->cloneChildren();
|
||||
return std::move(clone);
|
||||
@ -40,5 +42,4 @@ public:
|
||||
protected:
|
||||
void formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user