BIT values are not converted correctly to Python
Bug #507466 reported by
Geert JM Vanderkelen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Connector/Python |
Fix Released
|
High
|
Geert JM Vanderkelen |
Bug Description
BIT values coming from MySQL are not converted correctly to Python.
Previous commit doesn't work and needs fixing (pushed to quickly..)
Something like this:
def _BIT_to_
"""Returns BIT columntype as integer"""
return read_int(
Related branches
Changed in myconnpy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Previous pushed 'fix' was VERY _lousy_!
revno: 179
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-Alchemy
timestamp: Fri 2010-01-15 10:38:29 +0100
message:
Fixing MySQL BIT column conversion to Python
* BIT MySQL data type are now correctly converted to Python (int)
* Adding test case for bug lp:507466
* Updating test cases in test_conversion.py