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 9670e11 commit 0a16af9Copy full SHA for 0a16af9
src/parser/mod.rs
@@ -16541,6 +16541,16 @@ impl<'a> Parser<'a> {
16541
16542
/// Parse [Statement::Go]
16543
fn parse_go(&mut self) -> Result<Statement, ParserError> {
16544
+ // disambiguate between GO as batch delimiter & GO as identifier (etc)
16545
+ // compare:
16546
+ // ```sql
16547
+ // select 1 go
16548
+ // ```
16549
+ // vs
16550
16551
+ // select 1
16552
+ // go
16553
16554
self.expect_previously_only_whitespace_until_newline()?;
16555
16556
let count = loop {
0 commit comments