-
Notifications
You must be signed in to change notification settings - Fork 57
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
Proper handling of (all kinds of) empty queries #1383
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1383 +/- ##
==========================================
+ Coverage 89.05% 89.08% +0.02%
==========================================
Files 328 328
Lines 29227 29234 +7
Branches 3248 3250 +2
==========================================
+ Hits 26029 26042 +13
+ Misses 2054 2049 -5
+ Partials 1144 1143 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-1 with Johannes, minor changes left
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Quality Gate passedIssues Measures |
Empty queries were properly handled so far (before the parsing), but queries that consisted only of whitespace, comments, or prefix declarations were not. The first two produced a segmentation fault, the last produced a confusing error message. Now none of these queries lead to a segmentation fault anymore, and in each case, the same proper error message is returned.