Bug #72493 | Incorrect conversion of the negative value of the TIME type (mysql) to timedelt | ||
---|---|---|---|
Submitted: | 30 Apr 2014 16:45 | Modified: | 26 Jun 2014 17:07 |
Reporter: | Vitali Graf (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 1.1.6 | OS: | Any |
Assigned to: | Geert Vanderkelen | CPU Architecture: | Any |
Tags: | mysql:time, python3:timedelta |
[30 Apr 2014 16:45]
Vitali Graf
[30 Apr 2014 16:45]
Vitali Graf
Test case
Attachment: test-timedelta.py (text/x-python), 1.33 KiB.
[30 Apr 2014 16:46]
Vitali Graf
the patch for python3 and connenctor version 1.1.6
Attachment: conversion.patch (application/octet-stream, text), 1.99 KiB.
[13 May 2014 6:21]
Geert Vanderkelen
Thank you for this bug report and thank you for your patch. We have verified and we'll make sure it's fixed.
[20 May 2014 15:55]
Paul DuBois
Noted in 1.2.2 changelog. Negative timedelta values were incorrectly converted to and from Python.
[23 Jun 2014 12:34]
Geert Vanderkelen
Posted by developer: Pushed to v1.2.3.
[26 Jun 2014 17:07]
Paul DuBois
Noted in 1.2.3 changelog. Negative timedelta values were incorrectly converted to and from Python. Thanks to Vitali Graf for the patch.