We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GO
1 parent 2a2928a commit 73d7589Copy full SHA for 73d7589
src/parser/mod.rs
@@ -16447,6 +16447,16 @@ impl<'a> Parser<'a> {
16447
16448
/// Parse [Statement::Go]
16449
fn parse_go(&mut self) -> Result<Statement, ParserError> {
16450
+ // disambiguate between GO as batch delimiter & GO as identifier (etc)
16451
+ // compare:
16452
+ // ```sql
16453
+ // select 1 go
16454
+ // ```
16455
+ // vs
16456
16457
+ // select 1
16458
+ // go
16459
16460
self.expect_previously_only_whitespace_until_newline()?;
16461
16462
let count = loop {
0 commit comments