<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"><<a href="mailto:glynastill@yahoo.co.uk" target="_blank">glynastill@yahoo.co.uk</a>></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'm thinking of is "cannot lock set - admin connection already in transaction" 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'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're primarily useful as a way to catch errors, and not nearly so useful to transactionally group actions you'd like to treat as related.</div>
<div> </div></div></div></div>