diff options
author | drh <> | 2025-01-19 19:14:21 +0000 |
---|---|---|
committer | drh <> | 2025-01-19 19:14:21 +0000 |
commit | 3640785453c74c6eb8dfeb35d263e9700c594ac2 (patch) | |
tree | b1023e2cc20736d0bdad481d259557e9b0bf1725 /src/sqliteInt.h | |
parent | c6a39debf9f15c4163b8228f4bf7dd14e76efd97 (diff) | |
download | sqlite-3640785453c74c6eb8dfeb35d263e9700c594ac2.tar.gz sqlite-3640785453c74c6eb8dfeb35d263e9700c594ac2.zip |
Add an SQLITE_TESTCTRL_OPTIMIZATION mask that can disable the query planner
heuristics that are designed to help with star queries.
FossilOrigin-Name: fec4ff185a2f3f1bee8f27432206276636cf27365d2d41cd7282f8c0425f2e96
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index b8c9136a5..3045d7c4a 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1889,6 +1889,7 @@ struct sqlite3 { #define SQLITE_NullUnusedCols 0x04000000 /* NULL unused columns in subqueries */ #define SQLITE_OnePass 0x08000000 /* Single-pass DELETE and UPDATE */ #define SQLITE_OrderBySubq 0x10000000 /* ORDER BY in subquery helps outer */ +#define SQLITE_StarQuery 0x20000000 /* Heurists for star queries */ #define SQLITE_AllOpts 0xffffffff /* All optimizations */ /* |