1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Change the size of a mini-lookaside allocation to a macro (MINI_SZ) rather

than a magic number (128).

FossilOrigin-Name: 5e1949bca998f3c8c23a8ebf01c7a2e7a2af1fdad43886271e1fe0f25411551d
This commit is contained in:
drh
2019-12-12 17:17:24 +00:00
parent 20d6c1fe1b
commit 0225d819c4
5 changed files with 19 additions and 16 deletions

View File

@@ -1303,6 +1303,9 @@ struct LookasideSlot {
#define EnableLookaside db->lookaside.bDisable--;\
db->lookaside.sz=db->lookaside.bDisable?0:db->lookaside.szTrue
/* Size of the MINI lookside allocation */
#define MINI_SZ 128
/*
** A hash table for built-in function definitions. (Application-defined
** functions use a regular table table from hash.h.)