Skip to content

Conversation

MasterOdin
Copy link
Member

PR fixes parsing queries that have a lowercase block opener as part of the query. Before, it would not detect the block opener (as it expects an upper case string for comparison), but we would properly detect the end for that block, and so would close out any currently in progress blocks, and then the next encountered semi-colon would close out the statement. For the test case, this would mean that we'd end up with three statements, with the SELECT 1 as its own statement, followed by the ; (where the END gets parsed into oblivion, see #62).

@MasterOdin MasterOdin merged commit 737d221 into main Aug 29, 2022
@MasterOdin MasterOdin deleted the bugfix-mixed-case branch August 29, 2022 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant