File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11830,7 +11830,7 @@ impl<'a> Parser<'a> {
1183011830 };
1183111831 let mut relation = self.parse_table_factor()?;
1183211832
11833- if self.is_next_token_a_join () {
11833+ if self.peek_parens_less_nested_join () {
1183411834 let joins = self.parse_joins()?;
1183511835 relation = TableFactor::NestedJoin {
1183611836 table_with_joins: Box::new(TableWithJoins { relation, joins }),
@@ -11850,9 +11850,9 @@ impl<'a> Parser<'a> {
1185011850 Ok(joins)
1185111851 }
1185211852
11853- fn is_next_token_a_join (&self) -> bool {
11853+ fn peek_parens_less_nested_join (&self) -> bool {
1185411854 matches!(
11855- self.peek_token ().token,
11855+ self.peek_token_ref ().token,
1185611856 Token::Word(Word {
1185711857 keyword: Keyword::JOIN
1185811858 | Keyword::INNER
You can’t perform that action at this time.
0 commit comments