aboutsummaryrefslogtreecommitdiff
path: root/src/select.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-12-07 14:02:14 +0000
committerdrh <drh@noemail.net>2012-12-07 14:02:14 +0000
commit4b17cf58559a0759942aa7d984ed1a27b03a76e2 (patch)
treebd6f5aac52ce268c3722eaf22691562f9de8b534 /src/select.c
parentae80ddea9f4cf8505b5a27aeec3fa8b959218064 (diff)
downloadsqlite-4b17cf58559a0759942aa7d984ed1a27b03a76e2.tar.gz
sqlite-4b17cf58559a0759942aa7d984ed1a27b03a76e2.zip
Veryquick now row to completion without segfaulting or asserting. But there
are still lots of errors. FossilOrigin-Name: 7fafab12e4c0c832c421975f8329c3214403d281
Diffstat (limited to 'src/select.c')
-rw-r--r--src/select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select.c b/src/select.c
index ee1755dbd..4582d2bc1 100644
--- a/src/select.c
+++ b/src/select.c
@@ -2337,6 +2337,7 @@ static int multiSelectOrderBy(
pColl = sqlite3ExprCollSeq(pParse, pTerm);
}else{
pColl = multiSelectCollSeq(pParse, p, aPermute[i]);
+ pTerm->flags |= EP_Collate;
}
pKeyMerge->aColl[i] = pColl;
pKeyMerge->aSortOrder[i] = pOrderBy->a[i].sortOrder;