diff options
author | drh <drh@noemail.net> | 2019-04-02 17:45:56 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-04-02 17:45:56 +0000 |
commit | 94809086e50e86bfd34f134eb3385676359f8b3c (patch) | |
tree | 01d6225067da85dad4ac08f4be893bd7e6c9c718 /src/sqliteInt.h | |
parent | 3de52e8fa0032ebe22940cc8d58b879e65a06ba0 (diff) | |
download | sqlite-94809086e50e86bfd34f134eb3385676359f8b3c.tar.gz sqlite-94809086e50e86bfd34f134eb3385676359f8b3c.zip |
Use a separate bit on db->dbOptFlags to disable the xInverse optimization on
window functions, rather than reusing the query-flattener disable bit.
FossilOrigin-Name: bc0fb1c324be2fd668bc4398c7d364b7e3c5a98537fe5fb58a125b66f3e6d041
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 f352cf89b..7a98ee7d0 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1573,7 +1573,7 @@ struct sqlite3 { ** selectively disable various optimizations. */ #define SQLITE_QueryFlattener 0x0001 /* Query flattening */ - /* 0x0002 available for reuse */ +#define SQLITE_WindowFunc 0x0002 /* Use xInverse for window functions */ #define SQLITE_GroupByOrder 0x0004 /* GROUPBY cover of ORDERBY */ #define SQLITE_FactorOutConst 0x0008 /* Constant factoring */ #define SQLITE_DistinctOpt 0x0010 /* DISTINCT using indexes */ |