Bug #1185 | mysql_bind_param ignore buffer length for DATA,TIME,DATETIME causes problem | ||
---|---|---|---|
Submitted: | 2 Sep 2003 20:33 | Modified: | 22 Sep 2003 22:03 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.0-alpha-max-nt | OS: | Windows (Windows2000) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[2 Sep 2003 20:33]
[ name withheld ]
[22 Sep 2003 22:03]
Venu Anuganti
Hi !! Thanks for the bug report, and this is fixed now in the current BK source tree. The reason for this is that, the code is kept as it is even after MYSQL_TIME is introduced, as the original version use to handle all DATE, TIME and TS in string format. Anyway, as they are handled separately now after MYSQL_TIME is introduced, the buffer_length must be taken care as constant sizeof(MYSQL_TIME). Thanks Venu