We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f1ee0 commit 8c86c2bCopy full SHA for 8c86c2b
src/Parsers/ASTSelectWithUnionQuery.cpp
@@ -83,7 +83,7 @@ void ASTSelectWithUnionQuery::formatQueryImpl(WriteBuffer & ostr, const FormatSe
83
/// SELECT * EXCEPT SELECT 1 -- two queries
84
/// SELECT * EXCEPT col -- a modifier for asterisk
85
/// For this reason, add parentheses when formatting any side of EXCEPT.
86
- auto next = it;
+ ASTs::const_iterator next = it;
87
++next;
88
if ((it != list_of_selects->children.begin() && is_except(get_mode(it)))
89
|| (next != list_of_selects->children.end() && is_except(get_mode(next))))
0 commit comments