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

fix: don't remove SQL hints from queries #189

Closed
wants to merge 3 commits into from

Conversation

cofin
Copy link
Contributor

@cofin cofin commented May 28, 2024

This small PR adjusts the regular expression for multiline comments. Previously, it was incorrectly flagging the SQL Hint syntax as a multi-line comment.

Here is an example a valid hint:

select /*+ parallel(a) */ 
from big_table a
where a.foo = :foo 

@zx80
Copy link
Collaborator

zx80 commented May 29, 2024

Accepted after a fix, see #190.

@zx80 zx80 closed this May 29, 2024
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.

2 participants