Open
Description
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)
.
Metadata
Metadata
Assignees
Labels
No labels