diff options
author | dan <dan@noemail.net> | 2016-11-10 20:14:06 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2016-11-10 20:14:06 +0000 |
commit | 257c13fa008b2033960e60927d180f2ebbe1fdca (patch) | |
tree | e5c0f947ddb9c5633ffe88013f35aa249ad948d5 /src/sqliteInt.h | |
parent | 58282f68d88e6c9ff907988a99ff67d8c473f137 (diff) | |
download | sqlite-257c13fa008b2033960e60927d180f2ebbe1fdca.tar.gz sqlite-257c13fa008b2033960e60927d180f2ebbe1fdca.zip |
Avoid storing redundant fields in sorter records when the sort-key and data have
fields in common (as in "SELECT a FROM t1 ORDER BY 1").
FossilOrigin-Name: 0af62fdbd8e2aab14718ff8bcb5934f05463c176
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 c0e5aa01b..88662958d 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3706,6 +3706,7 @@ int sqlite3ExprCodeExprList(Parse*, ExprList*, int, int, u8); #define SQLITE_ECEL_DUP 0x01 /* Deep, not shallow copies */ #define SQLITE_ECEL_FACTOR 0x02 /* Factor out constant terms */ #define SQLITE_ECEL_REF 0x04 /* Use ExprList.u.x.iOrderByCol */ +#define SQLITE_ECEL_OMITREF 0x08 /* Omit if ExprList.u.x.iOrderByCol */ void sqlite3ExprIfTrue(Parse*, Expr*, int, int); void sqlite3ExprIfFalse(Parse*, Expr*, int, int); void sqlite3ExprIfFalseDup(Parse*, Expr*, int, int); |