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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to