diff options
Diffstat (limited to 'src/global.c')
-rw-r--r-- | src/global.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/global.c b/src/global.c index 4689e94bb..570002be4 100644 --- a/src/global.c +++ b/src/global.c @@ -190,9 +190,18 @@ const unsigned char sqlite3CtypeMap[256] = { ** changed as start-time using sqlite3_config(SQLITE_CONFIG_LOOKASIDE) ** or at run-time for an individual database connection using ** sqlite3_db_config(db, SQLITE_DBCONFIG_LOOKASIDE); +** +** With the mini-lookaside enhancement, must less lookaside is required. +** The default configuration of 1200,40 actually proves 30 1200-byte slots +** and 93 128-byte slots, which is more lookaside slots that are available +** using the older 1200,100 configuration without mini-lookaside. */ #ifndef SQLITE_DEFAULT_LOOKASIDE -# define SQLITE_DEFAULT_LOOKASIDE 1200,100 +# ifdef SQLITE_OMIT_MINI_LOOKASIDE +# define SQLITE_DEFAULT_LOOKASIDE 1200,100 /* 120KB of memory */ +# else +# define SQLITE_DEFAULT_LOOKASIDE 1200,40 /* 48KB of memory */ +# endif #endif |