Double paren causes SQL error when using IN operator
#705
stepantubanov
started this conversation in
General
Replies: 3 comments
|
I'd suggest to yank |
0 replies
|
I can confirm this should be a consequence of 675, however I'd suggest you to use
Lines 1515 to 1523 in 5922d6f If you also look at |
0 replies
|
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
Values used by
INoperator get double wrapped in parens. Example code that reproduces the error:When
sea-query 0.30.1is used, I get this output:We get a runtime error (using
mariadb 10.6.14):Removing the double paren makes the error go away. I'll try to minimize the expression that causes the error.
EDIT: Using 2 values triggers the error (MRE code updated).
When
sea-query 0.30.0is used, I get this output:And no runtime error.
Could be a regression related to #675 because this error started to happen in
0.30.1. Version0.30.0does not have this error.Reproduces How Often
Always
Versions
0.30.1
All reactions