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: handle empty query correctly #654

Merged
merged 2 commits into from
Mar 19, 2023
Merged

Conversation

jjeffcaii
Copy link
Contributor

What this PR does:
Handle empty query correctly, will follow the normal MySQL behavior below:

image

Which issue(s) this PR fixes:

Fixes #641

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.08 ⚠️

Comparison is base (1f00f15) 36.94% compared to head (a3806c6) 36.87%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
- Coverage   36.94%   36.87%   -0.08%     
==========================================
  Files         202      202              
  Lines       22290    22344      +54     
==========================================
+ Hits         8236     8240       +4     
- Misses      13137    13187      +50     
  Partials      917      917              
Impacted Files Coverage Δ
pkg/executor/redirect.go 4.73% <0.00%> (+0.86%) ⬆️
pkg/mysql/server.go 0.00% <ø> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jjeffcaii jjeffcaii added the bug Something isn't working label Mar 18, 2023
@dongzl dongzl merged commit 0bc1a19 into arana-db:master Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SQL] when SQL has more ';' then return unexcpted result
5 participants