Hello,
I attach patch for more strict bind parameters count checking.It could avoid some bad behaviour (driver doesn't fail in somesituations).
Please review and comment
Luf