Bug#584260: [Python-modules-team] Bug#584260: python-mysqldb silently drops exceptions on deadlocks

2010-06-03 Thread Eskil Olsen
Hi Jonas, > > 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. > > the bugreport contains a different patch than you attached to your mail. > Yes, it's a similar report, but the submitter tries to fix the problem in pyt

Bug#584260: python-mysqldb silently drops exceptions on deadlocks

2010-06-02 Thread Eskil Olsen
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 ch