aboutsummaryrefslogtreecommitdiff
path: root/src/global.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-12-08 18:19:17 +0000
committerdrh <drh@noemail.net>2008-12-08 18:19:17 +0000
commit1875f7a3dbbcc252804c60d92a7abbc4888b4996 (patch)
tree90da5a754e84e42c70ecd24247c02306ad4d429f /src/global.c
parent128255fce671bf3c19feb569f4b87e7e6003da24 (diff)
downloadsqlite-1875f7a3dbbcc252804c60d92a7abbc4888b4996.tar.gz
sqlite-1875f7a3dbbcc252804c60d92a7abbc4888b4996.zip
The amalgamation now compiles cleanly on GCC with options
-pedantic-errors -Wno-long-long. (CVS 5991) FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
Diffstat (limited to 'src/global.c')
-rw-r--r--src/global.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/global.c b/src/global.c
index e05168362..757b75a5c 100644
--- a/src/global.c
+++ b/src/global.c
@@ -12,7 +12,7 @@
**
** This file contains definitions of global variables and contants.
**
-** $Id: global.c,v 1.8 2008/09/04 17:17:39 danielk1977 Exp $
+** $Id: global.c,v 1.9 2008/12/08 18:19:18 drh Exp $
*/
#include "sqliteInt.h"
@@ -73,7 +73,26 @@ SQLITE_WSD struct Sqlite3Config sqlite3Config = {
0x7ffffffe, /* mxStrlen */
100, /* szLookaside */
500, /* nLookaside */
- /* Other fields all default to zero */
+ {0,0,0,0,0,0,0,0}, /* m */
+ {0,0,0,0,0,0,0,0,0}, /* mutex */
+ {0,0,0,0,0,0,0,0,0,0,0}, /* pcache */
+ (void*)0, /* pHeap */
+ 0, /* nHeap */
+ 0, 0, /* mnHeap, mxHeap */
+ (void*)0, /* pScratch */
+ 0, /* szScratch */
+ 0, /* nScratch */
+ (void*)0, /* pPage */
+ 0, /* szPage */
+ 0, /* nPage */
+ 0, /* mxParserStack */
+ 0, /* sharedCacheEnabled */
+ /* All the rest need to always be zero */
+ 0, /* isInit */
+ 0, /* inProgress */
+ 0, /* isMallocInit */
+ 0, /* pInitMutex */
+ 0, /* nRefInitMutex */
};