Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special syntax -- //@DELIMITER could cause SQL syntax error #182

Closed
harawata opened this issue Mar 6, 2021 · 0 comments
Closed

Special syntax -- //@DELIMITER could cause SQL syntax error #182

harawata opened this issue Mar 6, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@harawata
Copy link
Member

harawata commented Mar 6, 2021

Initially reported in the mailing list.
https://groups.google.com/g/mybatis-user/c/v-2cgW7uwJc/m/VqUOuG-XAQAJ

When specifying a delimiter using the syntax with double slash, the line break on that line is not retained.
This could break the SQL statement following the delimiter line.

-- //@DELIMITER ~

The syntax without double slash is not affected by this bug.

-- @DELIMITER ~
@harawata harawata added the bug label Mar 6, 2021
@harawata harawata added this to the 3.3.10 milestone Mar 6, 2021
@harawata harawata self-assigned this Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant