Bug 117948 - After upgrading to MySQL 5, dev-db/mysql-python returns the wrong types for DECIMAL fields
|
Bug#:
117948
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: All
|
|
OS/Version: Other
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: python@gentoo.org
|
Reported By: lee.packham@prizefight.co.uk
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: After upgrading to MySQL 5, dev-db/mysql-python returns the wrong types for DECIMAL fields
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-01-05 14:54 0000
|
MySQLdb doesn't recognise the new DECIMAL field type correctly and returns
strings to Python when doing things like SUM().
This has the effect of code that doesn't cast the output from a cursor and then
uses the output to compare will throw an exception.
Fixed ebuild (tar.gz'd for people to use in overlays) will be attached.
Please, attach a plaintext patch. Thanks.
thanks for the patch. added to mysql-python-1.2.0-r1.