directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject How do we handle recursive requests wrt transactions ?
Date Wed, 21 Dec 2011 00:33:50 GMT
Hi,

I tried to get some tests passing where a recursive delete is done. The 
problem is that we do a search at each level, whch means we start a new 
transaction at each new level.

I can easily check that a transaction has not been started yet (so that 
the txn is only started once), but as I try to commit the txn when the 
cursor is closed, I have a problem to close the right txn (ie, the one 
that has been started in the outer loop).

Any idea on how to get it working ?

-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message