aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-12-12 17:17:24 +0000
committerdrh <drh@noemail.net>2019-12-12 17:17:24 +0000
commit0225d819c4ca87cd29cd6f58d50c75bcee6213bc (patch)
tree79e89c4779e081f3ab54b0aeea85eacd6b278c78 /src/sqliteInt.h
parent20d6c1fe1bafcef4b60656a4f2c6da03cc5b98ed (diff)
downloadsqlite-0225d819c4ca87cd29cd6f58d50c75bcee6213bc.tar.gz
sqlite-0225d819c4ca87cd29cd6f58d50c75bcee6213bc.zip
Change the size of a mini-lookaside allocation to a macro (MINI_SZ) rather
than a magic number (128). FossilOrigin-Name: 5e1949bca998f3c8c23a8ebf01c7a2e7a2af1fdad43886271e1fe0f25411551d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 528092337..d01c8128b 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -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.)