Author: phd
Date: 2004-12-03 10:54:30 +0000 (Fri, 03 Dec 2004)
New Revision: 435
Modified:
home/phd/SQLObject/inheritance/sqlobject/mysql/mysqlconnection.py
Log:
Merged patch from rev 434: 2013 is the SERVER_LOST error.
Modified: home/phd/SQLObject/inheritance/sqlobject/mysql/mysqlconnection.py
===================================================================
--- home/phd/SQLObject/inheritance/sqlobject/mysql/mysqlconnection.py 2004-12-03 10:52:44 UTC (rev 434)
+++ home/phd/SQLObject/inheritance/sqlobject/mysql/mysqlconnection.py 2004-12-03 10:54:30 UTC (rev 435)
@@ -34,8 +34,7 @@
try:
return cursor.execute(query)
except MySQLdb.OperationalError, e:
- if e.args[0] == 2013:
- # This is a
+ if e.args[0] == 2013: # SERVER_LOST error
if self.debug:
self.printDebug(conn, str(e), 'ERROR')
else:
|