Your message dated Wed, 11 Nov 2015 20:37:09 +1100
with message-id <[email protected]>
and subject line Re: Bug#584260: python-mysqldb silently drops exceptions on 
deadlocks
has caused the Debian Bug report #584260,
regarding python-mysqldb silently drops exceptions on deadlocks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
584260: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584260
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-mysqldb
Version: 1.2.2-10

There is a missing check in _mysql.c _mysql_ResultObject_Initialize, where a
failed SELECT that ends in a deadlock, returns a NULL from mysql_store
result, but according to
http://dev.mysql.com/doc/refman/5.0/en/null-mysql-store-result.html, you
have to check errno or num_fields afterwards.

Not doing this, causes exceptions to be silently dropped.

Here's a similar bugreport
http://sourceforge.net/tracker/?func=detail&aid=2776267&group_id=22307&atid=374932

Attached is a patch that fixes the problem in _mysql.c. It was made against
1.2.3, but applies to 1.2.2 with some fuzz.

Patch has also been submitted to python-mysqldb at sourceforge.

-- 
eskil
---

Attachment: fix-for-dropping-deadlock-exceptions.diff
Description: Binary data


--- End Message ---
--- Begin Message ---
Brian May <[email protected]> writes:

> On Wed, Jun 02, 2010 at 11:14:02AM -0700, Eskil Olsen wrote:
> Is this still the case with the lastest python-mysqldb in unstable?

No response in 9 days, closing this bug. If the problem can be
reproduced the bug can be reopened if required.
-- 
Brian May <[email protected]>

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to