23 Mar
2009
23 Mar
'09
12:48 p.m.
Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Chris Withers wrote:
Tres Seaver wrote:
- abort the current transaction - sync its database connection (to pick up the changed objects) I'm pretty sure the abort has done the sync for quite some time now...
Nope, see:
http://svn.zope.org/ZODB/trunk/src/ZODB/Connection.py
'sync()' calls 'self.transaction_manager.abort()', actually.
Well, I've never needed to call sync() in addition to abort() for a good 3 or 4 years now, an that includes when another thread changes the data being fiddled with... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk