aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2025-01-31 00:54:59 +0000
committerdrh <>2025-01-31 00:54:59 +0000
commit0911f86abf39bfaf0f3b144f07860238baf6a483 (patch)
tree468e924cf458bcffd8948677078a460b66c688ea /src/sqliteInt.h
parentc850c2be757ffbf11423b47f8ef94bd0ce20f048 (diff)
parent49906e8e4bfbac201532e111b5f972129ce7bafe (diff)
downloadsqlite-0911f86abf39bfaf0f3b144f07860238baf6a483.tar.gz
sqlite-0911f86abf39bfaf0f3b144f07860238baf6a483.zip
Merge all the latest trunk changes into the extra-security branch.
FossilOrigin-Name: 86ba57561a8d8c14e401c06b2345a9417053aa3a5f0c84e52460f23f5e6aa8d0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index aa7e297e7..8c1be72c1 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
@@ -1151,7 +1153,7 @@ extern u32 sqlite3WhereTrace;
** 0xFFFF---- Low-level debug messages
**
** 0x00000001 Code generation
-** 0x00000002 Solver
+** 0x00000002 Solver (Use 0x40000 for less detail)
** 0x00000004 Solver costs
** 0x00000008 WhereLoop inserts
**
@@ -1170,6 +1172,8 @@ extern u32 sqlite3WhereTrace;
**
** 0x00010000 Show more detail when printing WHERE terms
** 0x00020000 Show WHERE terms returned from whereScanNext()
+** 0x00040000 Solver overview messages
+** 0x00080000 Star-query heuristic
*/
@@ -3221,13 +3225,8 @@ struct ExprList {
*/
struct IdList {
int nId; /* Number of identifiers on the list */
- u8 eU4; /* Which element of a.u4 is valid */
struct IdList_item {
char *zName; /* Name of the identifier */
- union {
- int idx; /* Index in some Table.aCol[] of a column named zName */
- Expr *pExpr; /* Expr to implement a USING variable -- NOT USED */
- } u4;
} a[1];
};