-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 #17635 - Semicolon repeatedly suffixed onto SQL if query ends in comment #18264
base: master
Are you sure you want to change the base?
Fix #17635 - Semicolon repeatedly suffixed onto SQL if query ends in comment #18264
Conversation
1e28bf1
to
0f47d83
Compare
…SQL query Signed-off-by: Lakshaya Tohan <lakshaya.tohan@gmail.com>
… the query Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
0f47d83
to
9b30512
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #18264 +/- ##
============================================
+ Coverage 54.95% 54.97% +0.02%
- Complexity 16428 16434 +6
============================================
Files 631 631
Lines 64544 64550 +6
============================================
+ Hits 35467 35487 +20
+ Misses 29077 29063 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@kamil-tekiela You did some refactoring to this code, how can this be merged without needing to use that very costy str_contains function ? |
|
Description
Added check for addition of semicolon only when it is missing while editing and/or running an SQL query.
Fixes #17635
Before submitting pull request, please review the following checklist:
Signed-off-by
line as described in our DCO. This ensures that the work you're submitting is your own creation.