On Thu, Sep 26, 2013 at 5:31 PM, Dan Kennedy <[email protected]> wrote:

> It does. Both open a write transaction on the database. In the\
> parent posts case either would work.
>

Follow-up: i implemented this yesterday and it seems to do the job nicely.
Actually triggering the race condition was always basically impossible with
our infrastructure, so i can't really _confirm_ that it's all doing the
right thing, but it seems to be just fine (or at least doesn't break
anything). It basically looks like:

a) open dummy sqlite db
b) start transaction
c) go do mysql work
d) roll back (no-op) sqlite transaction

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to