Skip to content

Commit 7a05fda

Browse files
Fixed another round bracked-related overflow
1 parent 8641b82 commit 7a05fda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/parser/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13255,6 +13255,7 @@ impl<'a> Parser<'a> {
1325513255
/// preceded with some `WITH` CTE declarations and optionally followed
1325613256
/// by `ORDER BY`. Unlike some other parse_... methods, this one doesn't
1325713257
/// expect the initial keyword to be already consumed
13258+
#[cfg_attr(feature = "recursive-protection", recursive::recursive)]
1325813259
pub fn parse_query(&mut self) -> Result<Box<Query>, ParserError> {
1325913260
let _guard = self.recursion_counter.try_decrease()?;
1326013261
let with = if self.parse_keyword(Keyword::WITH) {
@@ -15105,6 +15106,7 @@ impl<'a> Parser<'a> {
1510515106
}
1510615107

1510715108
/// A table name or a parenthesized subquery, followed by optional `[AS] alias`
15109+
#[cfg_attr(feature = "recursive-protection", recursive::recursive)]
1510815110
pub fn parse_table_factor(&mut self) -> Result<TableFactor, ParserError> {
1510915111
let _guard = self.recursion_counter.try_decrease()?;
1511015112
if self.parse_keyword(Keyword::LATERAL) {

0 commit comments

Comments
 (0)