[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SQLite and callbacks

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 30 Nov 2010 13:32:27 +0000

Stefan Sperling <stsp_at_elego.de> writes:

> If you run this version of your test, it will run in an endless loop.
> The callback inserts new values, the caller will see those and invoke
> the callback again.

Hmm, I expected the select to block the write causing it to return
SQLITE_BUSY. That is what happens if the write is done by a separate
process, but apparently not when it's the same process (or maybe it's
using the same database handle that makes it work).

-- 
Philip
Received on 2010-11-30 14:33:07 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.