Bug #23936 | bind_param() doesn't work with SQL_DOUBLE datatype (at least) | ||
---|---|---|---|
Submitted: | 3 Nov 2006 12:28 | Modified: | 2 Jan 2007 19:35 |
Reporter: | Steve Hay | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connectors: DBD::mysql ( Perl ) | Severity: | S2 (Serious) |
Version: | 4.00 | OS: | Windows (Windows XP SP2) |
Assigned to: | CPU Architecture: | Any |
[3 Nov 2006 12:28]
Steve Hay
[5 Nov 2006 18:32]
MySQL Verification Team
Thank you for the bug report. Verified as described: C:\codesmaple>perl bug23936.pl 2 C:\codesmaple>
[29 Dec 2006 18:54]
Jim Winstead
I am unable to reproduce this bug with the latest development source. I have added a regression test to the test suite, which will be in the next release (probably 4.01).
[2 Jan 2007 11:40]
Steve Hay
I've just tested this again with the latest release (4.00) and it still doesn't work for me, so I've re-opened the bug and updated the version field to 4.00. The program in the original bug report still erroneously outputs 2 instead of 2.1. Switching to server-side prepare and/or dropping the third argument to bind_param() "fixes" it, but neither constitutes a real fix.
[2 Jan 2007 19:35]
Jim Winstead
Okay, I've verified that this does fail in 4.00, but is fixed in the current source tree (and thus the next release). Thanks for the bug report.