]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When the in single-threaded mode, the sqlite3_mutex_alloc() interface
authordrh <drh@noemail.net>
Wed, 5 May 2010 00:05:24 +0000 (00:05 +0000)
committerdrh <drh@noemail.net>
Wed, 5 May 2010 00:05:24 +0000 (00:05 +0000)
commit92d765237936efd26a4e39991052f43e4ad32c82
treec960cb6a619aa62832a86af0664092d17fee5fef
parent7721b23e0a310c95e84088dab89494622e42087c
When the in single-threaded mode, the sqlite3_mutex_alloc() interface
still returns a non-NULL value.  The mutex doesn't do anything, but it
tests non-NULL.  This way, extensions (or VFSes) that use sqlite3_mutex_alloc()
can tell the difference between an OOM error and mutexes being disabled.

FossilOrigin-Name: 451fd175758983c335aab449fdc4cb838156c4cb
manifest
manifest.uuid
src/mutex.c
src/mutex_noop.c
src/sqliteInt.h