Skip to content

Conversation

@zyuiop
Copy link

@zyuiop zyuiop commented Jan 10, 2026

MySQL likes to send "blocky" comments where a line comment is surrounded by empty comments, like so:

--
-- Table structure for table `foo`
--

CREATE TABLE ...

Currently, these comments are tokenized as MINUS, MINUS instead of an empty line comment.
This commits fixes this problem by accepting any kind of whitespace to delimit a line comment.

MySQL likes to send "blocky" comments where a line comment is surrounded by empty comments, like so:

```
--
-- Table structure for table `foo`
--

CREATE TABLE ...
```

Currently, these comments are tokenized as MINUS, MINUS instead of an empty line comment.
This commits fixes this problem by accepting any kind of whitespace to delimit a line comment.
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