aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2025-01-26 17:29:33 +0000
committerdrh <>2025-01-26 17:29:33 +0000
commitfe54b7a1f442a4c5b1a23fe83821adbe04b782cf (patch)
treeaf2c8da2d146d59044a72bf48773186de254663c /src/sqliteInt.h
parentfb9e8e48fd70b463fb7ba6d99e00f2be54df749e (diff)
downloadsqlite-fe54b7a1f442a4c5b1a23fe83821adbe04b782cf.tar.gz
sqlite-fe54b7a1f442a4c5b1a23fe83821adbe04b782cf.zip
Small size and complexity reduction on the star-query heuristic. Improved
comments for the star-query heuristic. FossilOrigin-Name: a7ecb2f4b7eee78b88f1b2e026dffed2007ca4ffeb152632624ab2582839b250
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index d29b2e393..205f8f3e0 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -881,6 +881,8 @@ typedef u64 tRowcnt;
** 0.5 -> -10 0.1 -> -33 0.0625 -> -40
*/
typedef INT16_TYPE LogEst;
+#define LOGEST_MIN (-32768)
+#define LOGEST_MAX (32767)
/*
** Set the SQLITE_PTRSIZE macro to the number of bytes in a pointer