Bug #94944 | Optimistic utf8 decoding erroneously decodes binary data. | ||
---|---|---|---|
Submitted: | 8 Apr 2019 19:07 | Modified: | 26 Apr 2022 15:37 |
Reporter: | Marius _ | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S2 (Serious) |
Version: | 8.0.15, 8.0.11 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Apr 2019 19:07]
Marius _
[9 Apr 2019 11:57]
MySQL Verification Team
Hello Marius, Thank you for the report. regards, Umesh
[1 Apr 2021 19:00]
William OLLIVIER
The issue is definitely present in the very last version of the Python connector (8.0.22 at the time this is written), and is affecting us randomly in our production systems. Note that this is not happening for all UUIDs (see example by the OP). This is definitely a regression, as it was definitely working fine with version 8.0.6. Unfortunately we cannot use version 8.0.6 anymore because it's not compatible with newer versions of SSL This should really be looked into. This is the official MySQL connector, the bug was reported a year ago now, and still isn't solved. I'll attach a more complete example to reproduce the issue, with additional SQLAlchemy errors that ensue.
[1 Apr 2021 19:02]
William OLLIVIER
Minimum example with SQLAlchemy showing the problem precisely
Attachment: mcre.py (text/x-python), 1.52 KiB.
[26 Apr 2022 15:37]
Javier TreviƱo
Fixed by bug https://bugs.mysql.com/bug.php?id=97177 on the MySQL Connector/Python 8.0.24 release.