[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: Dan Christian <dchristian_at_google.com>
Date: 2007-11-19 22:59:33 CET

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.

>
> 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.

>
> Or, given that nobody will have any idea if their SQLite is threadsafe
> (though we could write some more autoconf mess to figure it out), is
> this another argument for just shipping with a copy of sqlite3.c?

Maybe we should try to see how many distros ship with a workable
version (threadsafe and a direct way to verify that).

-Dan C

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 19 22:59:49 2007

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