[Bug 64270] Re: Requesting python-mysqldb 1.2.1-p2-4ubuntu2

Launchpad Bug Tracker 64270 at bugs.launchpad.net
Wed Apr 9 20:25:07 BST 2008


This bug was fixed in the package python-mysqldb - 1.2.2-5ubuntu1

---------------
python-mysqldb (1.2.2-5ubuntu1) hardy; urgency=low

  * Disable the 02_reconnect patch. LP: #64270, #163184.

    Comment in Storm which explains the problem:

        # Here is another sad story about bad transactional behavior. MySQL
        # offers a feature to automatically reconnect dropped connections.
        # What sounds like a dream, is actually a nightmare for anyone who
        # is dealing with transactions. When a reconnection happens, the
        # currently running transaction is transparently rolled back, and
        # everything that was being done is lost, without notice. Not only
        # that, but the connection may be put back in AUTOCOMMIT mode, even
        # when that's not the default MySQLdb behavior. The MySQL developers
        # quickly understood that this is a terrible idea, and removed the
        # behavior in MySQL 5.0.3. Unfortunately, Debian and Ubuntu still
        # have a patch right now which *reenables* that behavior by default
        # even past version 5.0.3.

 -- Matthias Klose <doko at ubuntu.com>   Wed, 09 Apr 2008 19:19:42 +0000

** Changed in: python-mysqldb (Ubuntu)
       Status: New => Fix Released

-- 
Requesting python-mysqldb 1.2.1-p2-4ubuntu2
https://bugs.launchpad.net/bugs/64270
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to Dapper Backports.



More information about the ubuntu-backports mailing list