diff options
author | drh <> | 2021-02-13 16:39:24 +0000 |
---|---|---|
committer | drh <> | 2021-02-13 16:39:24 +0000 |
commit | 8794c68a3566c50173c77d30a1126389ee434a36 (patch) | |
tree | 908e69df56681e2431497e1c0057b0e929ff9b14 /src/sqliteInt.h | |
parent | e8f1490f555ad3c1033fe6ec822394d125312f46 (diff) | |
download | sqlite-8794c68a3566c50173c77d30a1126389ee434a36.tar.gz sqlite-8794c68a3566c50173c77d30a1126389ee434a36.zip |
Avoid manifesting a CTE (or other view) multiple times when it is possible to
reuse the first manifestation.
FossilOrigin-Name: 9692f510803c9b9725abb687d7c10fbc0d5ed784479ec6f3fcc55925a87fe16d
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 093ce7621..17b1cb415 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3184,6 +3184,7 @@ struct Select { #define SF_View 0x0200000 /* SELECT statement is a view */ #define SF_NoopOrderBy 0x0400000 /* ORDER BY is ignored for this query */ #define SF_UpdateFrom 0x0800000 /* Statement is an UPDATE...FROM */ +#define SF_PushDown 0x1000000 /* SELECT has be modified by push-down opt */ /* ** The results of a SELECT can be distributed in several ways, as defined |