On Wed, 21 Nov 2007, Philip Martin wrote:
> email@example.com 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
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).
Can you confirm?
Received on Wed Nov 21 19:44:57 2007
- application/pgp-signature attachment: stored