Skip to content

Commit 445ec39

Browse files
author
Dilovan Celik
committed
updated declaration of select_into to use new function
1 parent 01c7db6 commit 445ec39

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/parser/mod.rs

+1-12
Original file line numberDiff line numberDiff line change
@@ -10910,18 +10910,7 @@ impl<'a> Parser<'a> {
1091010910
};
1091110911

1091210912
let into = if self.parse_keyword(Keyword::INTO) {
10913-
let temporary = self
10914-
.parse_one_of_keywords(&[Keyword::TEMP, Keyword::TEMPORARY])
10915-
.is_some();
10916-
let unlogged = self.parse_keyword(Keyword::UNLOGGED);
10917-
let table = self.parse_keyword(Keyword::TABLE);
10918-
let name = self.parse_object_name(false)?;
10919-
Some(SelectInto {
10920-
temporary,
10921-
unlogged,
10922-
table,
10923-
name,
10924-
})
10913+
Some(self.parse_select_into()?)
1092510914
} else {
1092610915
None
1092710916
};

0 commit comments

Comments
 (0)