-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Union broken in SQLite #40
Comments
You can fix this by removing the parens on line 208 of src/operator.lisp:
And lo,
|
FWIW- I checked that the new syntax (lacking parens) is compatible with mysql and postgres too - it is. I'm happy to submit a PR but someone is going to have to show me how to run the tests, cuz I've only figured out how to test one file at a time. |
Ahaa, nice. I had a quick look through the code to try and figure out where they parens were coming from, but gave up pretty quickly because I don't actually need Unions right now! |
The
union
family of commands generate parentheses, which are invalid in SQLite.e.g. from README
For SQLite, this should generate:
Without the brackets around the SELECT statements.
The text was updated successfully, but these errors were encountered: