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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SQL] when SQL has more ';' then return unexcpted result #641

Closed
maronghe opened this issue Mar 4, 2023 · 2 comments 路 Fixed by #654
Closed

[SQL] when SQL has more ';' then return unexcpted result #641

maronghe opened this issue Mar 4, 2023 · 2 comments 路 Fixed by #654
Assignees

Comments

@maronghe
Copy link
Contributor

maronghe commented Mar 4, 2023

What happened:
When I run SQL select * from student order by id ;; in mycli command line. Got unexcepted result and command line can not exist.

What you expected to happen:

Clear results and errors? 馃

How to reproduce it (as minimally and precisely as possible):

  1. Start arana server in local Mac.
  2. Connect arana using Mycli.
  3. Run SQL select * from student order by id ;;

Anything else we need to know?:

@maronghe maronghe changed the title [SQL] when run multi SQL [SQL] when SQL has more ';' then return unexcpted result Mar 4, 2023
@maronghe
Copy link
Contributor Author

maronghe commented Mar 4, 2023

Thanks for pointing out @icrzye .

@jjeffcaii jjeffcaii self-assigned this Mar 5, 2023
@jjeffcaii
Copy link
Contributor

This is a bug caused by empty query, and it's not supported yet, I'll add a patch to fix it. Thanks for figure out.

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 a pull request may close this issue.

2 participants