I'm having a problem wherein I have an integer field defined but set to NULL, I get this error when calling Statement.Fetch() on the prepared statement:
#2000 Unknown MySQL error%!(EXTRA string=
)
If I go back and replace NULL with a value, I get no error.
This code reproduces it:
https://gist.github.com/1007214