Bug #60648 | ODBC prepared statements ignore fractional part of temporal data types | ||
---|---|---|---|
Submitted: | 25 Mar 2011 18:03 | Modified: | 1 Mar 2012 14:16 |
Reporter: | Vladislav Vaintroub | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 5.1.9 | OS: | Any |
Assigned to: | Bogdan Degtyariov | CPU Architecture: | Any |
[25 Mar 2011 18:03]
Vladislav Vaintroub
[20 May 2011 11:43]
Bogdan Degtyariov
Thanks Vlad, The bug is verified.
[28 Aug 2011 12:45]
Lawrenty Novitsky
patch pushed to the branch bzr+ssh://lawrin@bazaar.launchpad.net/~myodbc-developers/myodbc/bug60648 it relies a modifies code from the patch for 60646. Patch's revno is 987(-2). Branch also contains patch for 60646 - 985(-4), patch for queries log location - 986(-3). And small patch for SQLCancel, it's more like a part of the transition to the 5.5. That is last revision in the branch.
[1 Mar 2012 14:16]
Lawrenty Novitsky
pushed as rev#1032, with some changes in rev#1034. If nothing goes wrong will be included to the next maintenance release(5.1.11).
[18 Apr 2012 23:46]
John Russell
Added to changelog for 5.1.11: Fractional seconds part of timestamp was ignored in prepared statements that use SQLBindParameter and SQL_C_TIMESTAMP type. For example, a prepared query comparing two timestamp values that only differed in the fractional part would consider the values identical.