Skip to content

Commit db3d7ce

Browse files
committed
All guard parse_table_factor
1 parent be77ce5 commit db3d7ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8839,6 +8839,7 @@ impl<'a> Parser<'a> {
88398839

88408840
/// A table name or a parenthesized subquery, followed by optional `[AS] alias`
88418841
pub fn parse_table_factor(&mut self) -> Result<TableFactor, ParserError> {
8842+
let _guard = self.recursion_counter.try_decrease()?;
88428843
if self.parse_keyword(Keyword::LATERAL) {
88438844
// LATERAL must always be followed by a subquery or table function.
88448845
if self.consume_token(&Token::LParen) {

0 commit comments

Comments
 (0)