mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
cosmetic fixes [#CLICKHOUSE-2133]
This commit is contained in:
parent
ebf3235282
commit
0eb48dc84e
@ -19,7 +19,7 @@ public:
|
||||
|
||||
protected:
|
||||
/// NOTE: call this helper at the end of the clone() method of descendant class.
|
||||
void cloneOutputOptions(ASTQueryWithOutput& cloned) const;
|
||||
void cloneOutputOptions(ASTQueryWithOutput & cloned) const;
|
||||
|
||||
/// Format only the query part of the AST (without output options).
|
||||
virtual void formatQueryImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const = 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
void ASTQueryWithOutput::cloneOutputOptions(ASTQueryWithOutput& cloned) const
|
||||
void ASTQueryWithOutput::cloneOutputOptions(ASTQueryWithOutput & cloned) const
|
||||
{
|
||||
if (out_file)
|
||||
{
|
||||
|
@ -38,8 +38,8 @@ bool ParserQueryWithOutput::parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & m
|
||||
{
|
||||
ws.ignore(pos, end);
|
||||
|
||||
ParserString s_into("OUTFILE", true, true);
|
||||
if (!s_into.ignore(pos, end, max_parsed_pos, expected))
|
||||
ParserString s_outfile("OUTFILE", true, true);
|
||||
if (!s_outfile.ignore(pos, end, max_parsed_pos, expected))
|
||||
{
|
||||
expected = "OUTFILE";
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user