mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Catch TOO_DEEP_RECURSION for formatted query too
This commit is contained in:
parent
bf482f75a7
commit
fa29fe6ba9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user