diff options
author | drh <drh@noemail.net> | 2011-07-08 13:07:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-07-08 13:07:02 +0000 |
commit | a9b1b914362d21ab6367294f28a1a625f082b100 (patch) | |
tree | f9d5064fc5c50bd794ad2579d33078535080b2aa /src/sqliteInt.h | |
parent | e363c1d1879ebb14d41d2b6bf83a42d68f2bf253 (diff) | |
download | sqlite-a9b1b914362d21ab6367294f28a1a625f082b100.tar.gz sqlite-a9b1b914362d21ab6367294f28a1a625f082b100.zip |
Extend the SQLITE_TESTCTRL_OPTIMIZATIONS option to disable DISTINCT
optimizations.
FossilOrigin-Name: 18501dd1a8aa8299c091c36e35b9a10a29d4467b
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 c1e055b26..9f47ffdde 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -956,6 +956,7 @@ struct sqlite3 { #define SQLITE_GroupByOrder 0x20 /* Disable GROUPBY cover of ORDERBY */ #define SQLITE_FactorOutConst 0x40 /* Disable factoring out constants */ #define SQLITE_IdxRealAsInt 0x80 /* Store REAL as INT in indices */ +#define SQLITE_DistinctOpt 0x80 /* DISTINCT using indexes */ #define SQLITE_OptMask 0xff /* Mask of all disablable opts */ /* |