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
Not sure if this is a bug, but this threw me for a loop:
conn.exec("INSERT INTO sometable (nullableCol) VALUES (?)", null);
This results in an error saying the number of parameters mismatch. But why? Because null matches a Variant[] before it matches the varargs version!
I think the way to fix this is to handle the Variant[] case specifically in the varargs template, but only if the single parameter is not typeof(null).
The text was updated successfully, but these errors were encountered:
Not sure if this is a bug, but this threw me for a loop:
This results in an error saying the number of parameters mismatch. But why? Because null matches a
Variant[]
before it matches the varargs version!I think the way to fix this is to handle the
Variant[]
case specifically in the varargs template, but only if the single parameter is nottypeof(null)
.The text was updated successfully, but these errors were encountered: