Merge pull request #25521 from azat/fuzzer-catch-TOO_DEEP_RECURSION

Catch TOO_DEEP_RECURSION in fuzzer for formatted query too
This commit is contained in:
alexey-milovidov 2021-06-21 02:03:55 +03:00 committed by GitHub
commit 7cd86086c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1451,10 +1451,9 @@ private:
}
catch (Exception & e)
{
if (e.code() != ErrorCodes::SYNTAX_ERROR)
{
if (e.code() != ErrorCodes::SYNTAX_ERROR &&
e.code() != ErrorCodes::TOO_DEEP_RECURSION)
throw;
}
}
if (ast_2)