Rename sqlite3.diff to sqlite3.5.4.diff and update it to be a diff against r3997

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3999 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-03-10 17:00:31 +00:00
parent fa47b4ff72
commit c4a62d5139
1 changed files with 18 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Index: sqlite3.c Index: sqlite3.c
=================================================================== ===================================================================
--- sqlite3.c (revision 3994) --- sqlite3.c (revision 3997)
+++ sqlite3.c (working copy) +++ sqlite3.c (working copy)
@@ -4818,12 +4818,16 @@ @@ -4818,12 +4818,16 @@
#if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE #if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE
@ -28,6 +28,23 @@ Index: sqlite3.c
# include <windows.h> # include <windows.h>
# define SQLITE_TEMPNAME_SIZE (MAX_PATH+50) # define SQLITE_TEMPNAME_SIZE (MAX_PATH+50)
#elif OS_OS2 #elif OS_OS2
@@ -10584,11 +10590,11 @@
*/
SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int iType){
static sqlite3_mutex staticMutexes[] = {
- { PTHREAD_MUTEX_INITIALIZER, },
- { PTHREAD_MUTEX_INITIALIZER, },
- { PTHREAD_MUTEX_INITIALIZER, },
- { PTHREAD_MUTEX_INITIALIZER, },
- { PTHREAD_MUTEX_INITIALIZER, },
+ { PTHREAD_MUTEX_INITIALIZER, 0, 0, 0 },
+ { PTHREAD_MUTEX_INITIALIZER, 0, 0, 0 },
+ { PTHREAD_MUTEX_INITIALIZER, 0, 0, 0 },
+ { PTHREAD_MUTEX_INITIALIZER, 0, 0, 0 },
+ { PTHREAD_MUTEX_INITIALIZER, 0, 0, 0 },
};
sqlite3_mutex *p;
switch( iType ){
@@ -10832,33 +10838,7 @@ @@ -10832,33 +10838,7 @@
DWORD owner; /* Thread holding this mutex */ DWORD owner; /* Thread holding this mutex */
}; };