Discussion:
[Erp5-dev] [Erp5-report] r36628 seb - /erp5/trunk/products/ZMySQLDA/DA.py
Vincent Pelletier
2010-06-28 09:31:30 UTC
Permalink
Fixed cases where two distinct connections where opened for the
same connector, the same thread, within a single transaction.
Quick note: this was found to happen when unghostifying DA instances, as
Shared/DC/ZRDB/Connection.py explicitly calls "connect" in __setstate__,
causing "connect" to be called outside of acquisition context.

As "query" method tries to establish network connection if not available, it
is just postponed by a few python calls and keeps working.
--
Vincent Pelletier
Loading...