aboutsummaryrefslogtreecommitdiff
path: root/src/btreeInt.h
diff options
context:
space:
mode:
authordrh <>2025-02-22 16:44:14 +0000
committerdrh <>2025-02-22 16:44:14 +0000
commitc071c47b51f39e2a186dbb87e1b7347d5590986d (patch)
treebfaafedd23d9890b73c216c18c058694ddcebb29 /src/btreeInt.h
parent447f1c231284a8aad15350b67f42a9a417fc5ade (diff)
downloadsqlite-c071c47b51f39e2a186dbb87e1b7347d5590986d.tar.gz
sqlite-c071c47b51f39e2a186dbb87e1b7347d5590986d.zip
Tamp down various harmless compiler warnings. Use "int" in places instead
of "u16" or "i16" since the compiler complains less and generates faster code. FossilOrigin-Name: 742827f049768c4f69ccdfaadfad339aaad3bc126d3a68b90cfea01d825bf7ce
Diffstat (limited to 'src/btreeInt.h')
-rw-r--r--src/btreeInt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/btreeInt.h b/src/btreeInt.h
index 121329725..17e3a1add 100644
--- a/src/btreeInt.h
+++ b/src/btreeInt.h
@@ -497,6 +497,12 @@ struct CellInfo {
#define BTCURSOR_MAX_DEPTH 20
/*
+** Maximum amount of storage local to a database page, regardless of
+** page size.
+*/
+#define BT_MAX_LOCAL 65501 /* 65536 - 35 */
+
+/*
** A cursor is a pointer to a particular entry within a particular
** b-tree within a database file.
**