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
I have a query such as SELECT ... FROM table WHERE id IN (?,...?) where there are 100 placeholders. This is a static string in my application, and it fills up to 100 ids. When the number of arguments is < 100 the rest is filled with NULL (which is ignored by MySQL).
Unfortunately I'm getting the following error:
Error 1210: Incorrect arguments to mysqld_stmt_execute
If I reduce the number of placeholders to 50 it works fine. Any idea what could be causing this? The same query works when I run it directly. I'm using MariaDB 5.5.
The text was updated successfully, but these errors were encountered:
I think this should be fixed in the master branch (not the same as the go get version).
See also #201, #209 and #210.
If it works, please close this issue.
I have a query such as
SELECT ... FROM table WHERE id IN (?,...?)
where there are 100 placeholders. This is a static string in my application, and it fills up to 100 ids. When the number of arguments is < 100 the rest is filled with NULL (which is ignored by MySQL).Unfortunately I'm getting the following error:
Error 1210: Incorrect arguments to mysqld_stmt_execute
If I reduce the number of placeholders to 50 it works fine. Any idea what could be causing this? The same query works when I run it directly. I'm using MariaDB 5.5.
The text was updated successfully, but these errors were encountered: