unicode operation doesn't work properly

Bug #573274 reported by Eugeny Boger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Critical
Geert JM Vanderkelen

Bug Description

Seems like

operation.encode(self.db().charset_name)

in cursor.py

should be

operation = operation.encode(self.db().charset_name)

Related branches

Changed in myconnpy:
status: New → Confirmed
assignee: nobody → Geert JM Vanderkelen (geertjmvdk)
importance: Undecided → Medium
Revision history for this message
Geert JM Vanderkelen (geertjmvdk) wrote :

revno: 236
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-dev
timestamp: Sun 2010-05-16 13:27:39 +0200
message:
  Fixes the operation not being encoded to character set

  o Forgot to save the encoded operation resulting in encoding errors (for Py2x)
  o Trapping Unicode exceptions and raising those back to the application as
  ProgrammingError exceptions.

Changed in myconnpy:
importance: Medium → Critical
status: Confirmed → Fix Committed
Changed in myconnpy:
status: Fix Committed → 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.