aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-07-08 13:07:02 +0000
committerdrh <drh@noemail.net>2011-07-08 13:07:02 +0000
commita9b1b914362d21ab6367294f28a1a625f082b100 (patch)
treef9d5064fc5c50bd794ad2579d33078535080b2aa /src/sqliteInt.h
parente363c1d1879ebb14d41d2b6bf83a42d68f2bf253 (diff)
downloadsqlite-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.h1
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 */
/*