Now that I understand the code a bit better, and in particular the fact that the MySQL engine defers parameter checks to serialization, it seems like the most robust change is simply to add a bit more info to the error message generated on a serialization fail.
Now that I understand the code a bit better, and in particular the fact that the MySQL engine defers parameter checks to serialization, it seems like the most robust change is simply to add a bit more info to the error message generated on a serialization fail.
@rmculpepper : does this look more reasonable?