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 afe36ff commit b8b8c7aCopy full SHA for b8b8c7a
src/parser/mod.rs
@@ -17406,6 +17406,16 @@ impl<'a> Parser<'a> {
17406
17407
/// Parse [Statement::Go]
17408
fn parse_go(&mut self) -> Result<Statement, ParserError> {
17409
+ // disambiguate between GO as batch delimiter & GO as identifier (etc)
17410
+ // compare:
17411
+ // ```sql
17412
+ // select 1 go
17413
+ // ```
17414
+ // vs
17415
17416
+ // select 1
17417
+ // go
17418
17419
self.expect_previously_only_whitespace_until_newline()?;
17420
17421
let count = loop {
0 commit comments