Bug #8879 | Wrong Time objects returned after SEC_TO_TIME | ||
---|---|---|---|
Submitted: | 2 Mar 2005 10:13 | Modified: | 8 Dec 2005 16:49 |
Reporter: | Gabor Toldi | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 3.51.12 | OS: | Windows (XP) |
Assigned to: | Bogdan Degtyariov | CPU Architecture: | Any |
[2 Mar 2005 10:13]
Gabor Toldi
[2 Mar 2005 22:08]
Jorge del Conde
Thanks for your excellent bug report
[3 May 2005 9:28]
Gabor Toldi
I'ld like to ask for repairs or any answers for the bug. Is this bug in the latest versions? Regards, Gabor
[8 Jul 2005 16:18]
Charles Herrington
I have also experienced this problem using the following syntax: "SELECT SEC_TO_TIME(TIME_TO_SEC(Call_Detail_Records.EndTime) - TIME_TO_SEC(Call_Detail_Records.StartTime)) as Duration FROM Call_Detail_Records" - the result is the current date (i.e. 7/8/2005) MySQL ODBC v3.51.11.00 MySQL Server v4.1.12a-nt
[8 Dec 2005 16:49]
Bogdan Degtyariov
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Additional info: This bug has been fixed in the Connector/ODBC v.3.51.12
[17 May 2007 13:25]
Anna Grigoryeva
The same bug is in MySQL Connector/J 5.1. I didn't have problems when I was using MySQL Connector/J 3.1, but after upgrade to 5.1 I can not use function SEC_TO_TIME() function in SQL queries.
[17 May 2007 13:41]
Bogdan Degtyariov
Hello Anna, Do you have a test case for Connector/J? Can you please attach it to this bug record? I will re-verify this case against your code and re-open the bug along with changing its category from Connector/ODBC to Connector/J. Thanks.