Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Warnings are being cleared after every query #600

Closed
kuba-- opened this issue Jan 22, 2019 · 0 comments
Closed

Warnings are being cleared after every query #600

kuba-- opened this issue Jan 22, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kuba--
Copy link
Contributor

kuba-- commented Jan 22, 2019

If you send two queries in the same session, e.g.:

-- some empty query as a comment;

SHOW WARNINGS;

We expect to see a warning(s). At least:
query was empty after trimming comments, so it will be ignored.

Unfortunatelly we have a rule clearWarnings:

{"clear_warnings", clearWarnings},

which runs after every query. That's why the second query show warning has a cleared session.

@kuba-- kuba-- added the bug Something isn't working label Jan 22, 2019
@kuba-- kuba-- self-assigned this Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant