<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 17, 2014 at 5:51 AM, Glyn Astill <span dir="ltr">&lt;<a href="mailto:glynastill@yahoo.co.uk" target="_blank">glynastill@yahoo.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
</div>Scratch that, the error I&#39;m thinking of is &quot;cannot lock set - admin connection already in transaction&quot; which only happens if I try to lock multiple sets within a try block.</blockquote><div><br></div>
<div>Ah, that makes sense.</div><div><br></div><div>Sadly, that&#39;s one of the signals that try blocks are less useful than one might imagine/hope.</div><div><br></div><div>Not to say that try blocks are not useful, but they&#39;re primarily useful as a way to catch errors, and not nearly so useful to transactionally group actions you&#39;d like to treat as related.</div>
<div> </div></div></div></div>