aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-10-26 18:51:09 +0000
committerdrh <drh@noemail.net>2015-10-26 18:51:09 +0000
commit0691191d2623f60fc465e8caf456385e71b18e86 (patch)
treebef605413eeb0dab4b38f059d3b09f219fa14676 /src/expr.c
parent0030aaad673e399e75ac6f1a0d38d9f189458949 (diff)
parent4dd83a22f2a7e31e8617c48b5e396cae39f7a76a (diff)
downloadsqlite-0691191d2623f60fc465e8caf456385e71b18e86.tar.gz
sqlite-0691191d2623f60fc465e8caf456385e71b18e86.zip
Merge in all trunk changes prior to the BTREE_FORDELETE enhancement.
FossilOrigin-Name: 53d5a4add6b60722ad77daf98b6b8983b081e16a
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c
index 88d002641..1c6d7879f 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -3372,6 +3372,10 @@ void sqlite3ExprCodeAndCache(Parse *pParse, Expr *pExpr, int target){
**
** The SQLITE_ECEL_FACTOR argument allows constant arguments to be
** factored out into initialization code.
+**
+** The SQLITE_ECEL_REF flag means that expressions in the list with
+** ExprList.a[].u.x.iOrderByCol>0 have already been evaluated and stored
+** in registers at srcReg, and so the value can be copied from there.
*/
int sqlite3ExprCodeExprList(
Parse *pParse, /* Parsing context */