First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117948
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lee Packham <lee.packham@prizefight.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mysql-python-1.2.0-r1.tar.gz Overlay ebuild (for portage overlay) that fixes the problem application/gzip Lee Packham 2006-01-05 14:55 0000 1.26 KB Details
mysql5types.patch Patch for MySQLdb 1.2.0 to work with MySQL 5 patch Lee Packham 2006-01-05 15:36 0000 1021 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117948 depends on: Show dependency tree
Bug 117948 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Lee Packham 2006-01-05 14:55:11 0000 -------
Created an attachment (id=76278) [edit]
Overlay ebuild (for portage overlay) that fixes the problem

------- Comment #2 From Jakub Moc (RETIRED) 2006-01-05 15:06:10 0000 -------
Please, attach a plaintext patch. Thanks.

------- Comment #3 From Lee Packham 2006-01-05 15:36:15 0000 -------
Created an attachment (id=76285) [edit]
Patch for MySQLdb 1.2.0 to work with MySQL 5

------- Comment #4 From Alastair Tse (RETIRED) 2006-02-06 14:07:01 0000 -------
thanks for the patch. added to mysql-python-1.2.0-r1.

First Last Prev Next    No search results available      Search page      Enter new bug