diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-03-26 18:34:43 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-03-26 18:34:43 +0000 |
commit | dfb316d43242a61212feec6c1293b4519f348a79 (patch) | |
tree | eef6a718c5ecdc19aa03a165b8bdbc4c4ed96297 /src/mutex_unix.c | |
parent | 7e2e6dc9505b9dec7fd809020ede9db4bfd9a694 (diff) | |
download | sqlite-dfb316d43242a61212feec6c1293b4519f348a79.tar.gz sqlite-dfb316d43242a61212feec6c1293b4519f348a79.zip |
Changes to delay freeing buffers associated with vdbe memory cells until either sqlite3_finalize() or sqlite3_release_memory() is called. (CVS 4922)
FossilOrigin-Name: 8c2f69521f13bc24cf005520efbe0589eeadd763
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r-- | src/mutex_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c index 93e7e9a19..a21798af6 100644 --- a/src/mutex_unix.c +++ b/src/mutex_unix.c @@ -11,7 +11,7 @@ ************************************************************************* ** This file contains the C functions that implement mutexes for pthreads ** -** $Id: mutex_unix.c,v 1.5 2007/11/28 14:04:57 drh Exp $ +** $Id: mutex_unix.c,v 1.6 2008/03/26 18:34:43 danielk1977 Exp $ */ #include "sqliteInt.h" @@ -88,6 +88,7 @@ sqlite3_mutex *sqlite3_mutex_alloc(int iType){ { PTHREAD_MUTEX_INITIALIZER, }, { PTHREAD_MUTEX_INITIALIZER, }, { PTHREAD_MUTEX_INITIALIZER, }, + { PTHREAD_MUTEX_INITIALIZER, }, }; sqlite3_mutex *p; switch( iType ){ |