You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4078 (HY000): Illegal parameter data types bigint and row for operation '='
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).
I can confirm this should be a consequence of 675, however I'd suggest you to use SimpleExpr::Tuple instead of Values. Since it was changed quite a long time ago in
Expr::is_in, Expr::is_not_in now accepts Into<SimpleExpr> instead of Into<Value> and convert it to SimpleExpr::Tuple instead of SimpleExpr::Values#476
Description
Values used by
IN
operator get double wrapped in parens. Example code that reproduces the error:When
sea-query 0.30.1
is 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.0
is 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.0
does not have this error.Reproduces How Often
Always
Versions
0.30.1
The text was updated successfully, but these errors were encountered: