1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

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
This commit is contained in:
drh
2025-02-22 16:44:14 +00:00
parent 447f1c2312
commit c071c47b51
8 changed files with 71 additions and 52 deletions

View File

@@ -496,6 +496,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.