We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GO
1 parent 71ce50f commit d62d359Copy full SHA for d62d359
1 file changed
src/parser/mod.rs
@@ -19706,6 +19706,16 @@ impl<'a> Parser<'a> {
19706
19707
/// Parse [Statement::Go]
19708
fn parse_go(&mut self) -> Result<Statement, ParserError> {
19709
+ // disambiguate between GO as batch delimiter & GO as identifier (etc)
19710
+ // compare:
19711
+ // ```sql
19712
+ // select 1 go
19713
+ // ```
19714
+ // vs
19715
19716
+ // select 1
19717
+ // go
19718
19719
self.expect_previously_only_whitespace_until_newline()?;
19720
19721
let count = loop {
0 commit comments