diff options
author | drh <> | 2024-06-09 17:34:03 +0000 |
---|---|---|
committer | drh <> | 2024-06-09 17:34:03 +0000 |
commit | 2fbb3fb5327e81f8bf1a071128d22c0a13278d46 (patch) | |
tree | 1a98a6276d254fae34a906d1c6ef829fdc6c73d7 /src/sqliteInt.h | |
parent | df9471b1b55e956fec7f25392bfe7fc5ca481202 (diff) | |
download | sqlite-2fbb3fb5327e81f8bf1a071128d22c0a13278d46.tar.gz sqlite-2fbb3fb5327e81f8bf1a071128d22c0a13278d46.zip |
Disable the omit-noop-join optimization when there are 64 or more terms in
the ORDER BY clause.
FossilOrigin-Name: 40de3939792e17df25598b3e60d1cebcecde2b00832acd55604f14b21398a9a7
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 8866b69ea..69aeadb34 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3388,7 +3388,7 @@ struct SrcList { #define WHERE_AGG_DISTINCT 0x0400 /* Query is "SELECT agg(DISTINCT ...)" */ #define WHERE_ORDERBY_LIMIT 0x0800 /* ORDERBY+LIMIT on the inner loop */ #define WHERE_RIGHT_JOIN 0x1000 /* Processing a RIGHT JOIN */ - /* 0x2000 not currently used */ +#define WHERE_KEEP_ALL_JOINS 0x2000 /* Do not do the omit-noop-join opt */ #define WHERE_USE_LIMIT 0x4000 /* Use the LIMIT in cost estimates */ /* 0x8000 not currently used */ |