aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-06-21 00:35:37 +0000
committerdrh <drh@noemail.net>2013-06-21 00:35:37 +0000
commit6457a353bca93d55db6011df34fb04e8c81e997e (patch)
tree63598016fa00c08918b923cb91eda6cce62c2b0d /src/sqliteInt.h
parent472eae8a4d4d69895e85234aff425fdc835957ff (diff)
downloadsqlite-6457a353bca93d55db6011df34fb04e8c81e997e.tar.gz
sqlite-6457a353bca93d55db6011df34fb04e8c81e997e.zip
Modify the query planner interface so that it always passes in the result set.
This is the first step toward adding an optimization that will omit tables from a join that do not contribute to the result. FossilOrigin-Name: 2c2577e69ccb47f1af674a755e71221e2ca0b322
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 b2cab7a7a..731612d34 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1974,6 +1974,7 @@ struct SrcList {
#define WHERE_AND_ONLY 0x0080 /* Don't use indices for OR terms */
#define WHERE_GROUPBY 0x0100 /* pOrderBy is really a GROUP BY */
#define WHERE_DISTINCTBY 0x0200 /* pOrderby is really a DISTINCT clause */
+#define WHERE_WANT_DISTINCT 0x0400 /* All output needs to be distinct */
/* Allowed return values from sqlite3WhereIsDistinct()
*/