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

Re: sqlite threadsafe

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-20 18:31:20 CET

On Nov 19, 2007 4:59 PM, Dan Christian <dchristian@google.com> wrote:
> Argh! Not this again. openssl has similar problems (under serf).
>
> On Nov 19, 2007 1:46 PM, David Glasser <glasser@davidglasser.net> wrote:
> > Apparently SQLite requires you to compile it with -DSQLITE_THREADSAFE
> > to be at all threadsafe. (There's a way to check at runtime
> > (sqlite3_threadsafe()) if this is so, but that's an experimental API
> > that may vanish.)
>
> Don't let it vanish. Runtime checks are the only foolproof way to verify this.

"Don't let it vanish" may be backwards, sadly, since the API doesn't
seem to have shown up until 3.5 (and we're already having issues with
Etch not supporting even 3.3.9 for an API).

> >
> > Should we add something to INSTALL telling people they must build
> > against a threadsafe SQLite if they are going to be using a thready
> > server?
>
> YES! And configure should verify this. Otherwise, it looks like
> subversion is flaky.

I don't think it can verify it unless we require 3.5.

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 20 18:44:33 2007

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.