cosmetic fixes [#CLICKHOUSE-2133]

This commit is contained in:
Alexey Zatelepin 2017-01-19 15:02:30 +03:00
parent ebf3235282
commit 0eb48dc84e
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -3,7 +3,7 @@
namespace DB
{
void ASTQueryWithOutput::cloneOutputOptions(ASTQueryWithOutput& cloned) const
void ASTQueryWithOutput::cloneOutputOptions(ASTQueryWithOutput & cloned) const
{
if (out_file)
{

View 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;