python-mysqldb 1.2.1 buggy

Bug #109336 reported by Arve Knudsen
4
Affects Status Importance Assigned to Milestone
python-mysqldb (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-mysqldb

There is a bug in MySQLdb (package python-mysqldb) version 1.2.1 that causes some query results to be returned as array objects where string objects are expected. The exact reason for this behaviour is mysterious, but the problem goes away for me when installing the latest upstream version (1.2.2).

Revision history for this message
dervish (umennel) wrote :

I discovered the same behavior. It happend to me while I was trying to retrieve data stored as MySQL blobs. In version 1.2.1, it was returned as array while in version 1.2.2, it was returned as string.
However, since blobs may store binary data, it is not clear to me if converting the data into a string is the correct solution.

Revision history for this message
Matthias Klose (doko) wrote :

fixed in gutsy and hardy

Changed in python-mysqldb:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.