mysqlconenction should handle threads like sqliteconnection
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
Mysqldb only supports threadsafety level 1, so connections can't be shared between threads.
sqlite has the same issues, so mysqlconenction needs similiar logic for dealing with threads. I've attached a patch based on sqliteconnection, which resolves the issue for me.
mysqlconection thread management patch
Logged In: YES
user_id=4799
Originator: NO
See http://article.gmane.org/gmane.comp.python.sqlobject/9050