-
Notifications
You must be signed in to change notification settings - Fork 148
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
Failure when submitting file with empty strings after ; #232
Comments
@snuyanzin looks like this is a regression after multiline support feature. |
could you please check with property value |
I tried with
but it also fails with the same error. I tried different attempts including two |
Thank you for checking. Here is the solution which could satisfy mentioned case f34cec6. However I found several more cases which also fail in SQLLine 1.5.0 e.g. file with
so will try to manage them within this issue |
Here https://github.com/snuyanzin/sqlline/tree/SQLLINE_232 I was able to start using the only one parser for both files and interactive mode. |
When a file has queries (or single query) which have semicolons and empty strings after it, SQLLine 1.6 fails when it is submitted, but previous versions work fine.
For example, content of
query.sql
file:When submitting it using the next command:
it fails alter executing the query with error:
It was caused by adding multiline support.
The text was updated successfully, but these errors were encountered: