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

Results not displayed if query ends in delimiter and comment #11339

Closed
udan11 opened this Issue Aug 1, 2015 · 2 comments

Comments

Projects
None yet
4 participants
@udan11
Member

udan11 commented Aug 1, 2015

Hello,

When executing queries like the one below the results are not being displayed.

SELECT * FROM actor; -- test

It looks like removing ; from the query fixes this issue. This bug is in 4.4 too.

@lem9

This comment has been minimized.

Contributor

lem9 commented Aug 8, 2015

Due to #11368

nisargjhaveri referenced this issue Aug 8, 2015

Handle comments in the beginning of the query
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
@nisargjhaveri

This comment has been minimized.

Contributor

nisargjhaveri commented Aug 9, 2015

Some more example where the results are not displayed and which are probably related.

SELECT 1; /*comment*/SELECT 1;
SELECT 1; -- comment
SELECT 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment