Bug #99955 | ZEROFILL not handled by the Python Connector (ValueError, invalid literal) | ||
---|---|---|---|
Submitted: | 23 Jun 2020 7:37 | Modified: | 8 Jun 2021 18:27 |
Reporter: | Christian Proust | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S3 (Non-critical) |
Version: | 8.0.20 | OS: | CentOS |
Assigned to: | CPU Architecture: | x86 | |
Tags: | Python Connector, ZEROFILL |
[23 Jun 2020 7:37]
Christian Proust
[23 Jun 2020 7:38]
Christian Proust
Test script
Attachment: test_bug.py (text/plain), 1.44 KiB.
[23 Jun 2020 11:26]
MySQL Verification Team
Hello Christian, Thank you for the report and feedback. regards, Umesh
[8 Jun 2021 18:27]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Connector/Python 8.0.26 release, and here's the proposed changelog entry from the documentation team: The CEXT implementation raised an exception when a SELECT statement fetched an INT ZEROFILL data type that became left 0-padded. Now, the ZEROFILL_FLAG flag is checked and handled as expected. Thank you for the bug report.