diff options
author | drh <> | 2024-06-11 18:22:48 +0000 |
---|---|---|
committer | drh <> | 2024-06-11 18:22:48 +0000 |
commit | ddc62664bfb5e3237b20098b30e4a99815c322e0 (patch) | |
tree | e9e1c34c0bc14a857be7fd70a26cc7d14c3b7673 /src/sqliteInt.h | |
parent | b4f41b801ad0127c4f388882896c9d3ebdeb4321 (diff) | |
download | sqlite-ddc62664bfb5e3237b20098b30e4a99815c322e0.tar.gz sqlite-ddc62664bfb5e3237b20098b30e4a99815c322e0.zip |
Provide the ability to disable the exists-to-join optimization using
SQLITE_TESTCTRL_OPTIMIZATIONS. Provide tree-trace output for the optimization.
FossilOrigin-Name: 33a3f327855b427ae6ba0057218d043a1417bc9d780728f47f23acdd836e1686
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index c976b928d..6a1b22f92 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1126,6 +1126,7 @@ extern u32 sqlite3TreeTrace; ** 0x00020000 Transform DISTINCT into GROUP BY ** 0x00040000 SELECT tree dump after all code has been generated ** 0x00080000 NOT NULL strength reduction +** 0x00100000 EXISTS-to-JOIN optimization */ /* @@ -1924,6 +1925,7 @@ struct sqlite3 { #define SQLITE_Coroutines 0x02000000 /* Co-routines for subqueries */ #define SQLITE_NullUnusedCols 0x04000000 /* NULL unused columns in subqueries */ #define SQLITE_OnePass 0x08000000 /* Single-pass DELETE and UPDATE */ +#define SQLITE_ExistsToJoin 0x10000000 /* The EXISTS-to-JOIN optimization */ #define SQLITE_AllOpts 0xffffffff /* All optimizations */ /* |