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

Re: svn commit: r27963 - trunk

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-11-21 19:44:46 CET

On Wed, 21 Nov 2007, Philip Martin wrote:

> dlr@tigris.org writes:
>
> > Author: dlr
> > Date: Wed Nov 21 09:52:16 2007
> > New Revision: 27963
>
> > + SQLite must be built in thread-safe mode (with
> > + -DSQLITE_THREADSAFE=1). If building SQLite yourself, you
> > + have the option of unpacking the archive into the top of the
> > + Subversion source tree and renaming the resulting directory
> > + within the Subversion source code from ./sqlite-3.5.2/ to
> > + ./sqlite/. Subversion will then build and install it for
> > + you.
>
> Earlier versions of sqlite use the name THREADSAFE rather than
> SQLITE_THREADSAFE.

Good point. I noticed that as well (it's mentioned in my mails to
dev@ on this subject).

> Setting SQLITE_THREADSAFE may not cause the thread
> library to be linked either. Perhaps the configure option
> --enable-threadsafe would be better?

Good suggestion, Philip. I've made the change in r27969.
(Incidentally, this became the default in SQLite CVS on Sept. 3rd).

Briefly looking through SQLite's configure history, it appears that
that option provides a consistent interface to the appropriate C
preprocessor defines across the SQLite 3.x series (e.g. THREADSAFE in
previous versions, SQLITE_THREADSAFE in more recent versions).

http://www.sqlite.org/cvstrac/rlog?f=sqlite/configure.ac

Can you confirm?

  • application/pgp-signature attachment: stored
Received on Wed Nov 21 19:44:57 2007

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