fix a typo in query formatting check in fuzzer

This commit is contained in:
Alexander Kuzmenkov 2021-04-28 13:19:18 +03:00
parent cc0dd732d9
commit bb675e7d11

View File

@ -1465,7 +1465,7 @@ private:
// if they are not referenced by the main SELECT, so they can still
// have the aforementioned problems. Disable this check for such
// queries, for lack of a better solution.
if (!have_error && queryHasWithClause(parsed_query.get()))
if (!have_error && !queryHasWithClause(parsed_query.get()))
{
ASTPtr parsed_formatted_query;
try