Attached is a patch which hopefully fixes #329397. Please try it out and see if it works. I will commit/push this code soon but wanted to see some comments first.
What I did was refactoring the MySQLBaseConnection.recv() method: * Keeps reading in chunks from socket until needed, get rid of MSG_WAITALL * Consecutive packets are kept in a deque. If there is something in the deque, recv() will first use that data. Overall, I think this is also faster. ** Patch added: "Refactoring recv()" http://launchpadlibrarian.net/39389862/bug_lp329397.patch -- Invalid packets on long running queries https://bugs.launchpad.net/bugs/329397 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
