Commit Graph

6 Commits

Author SHA1 Message Date
drh 70331cd725 Enhance the processing of ORDER BY clauses on compound queries to better
match terms of the order by against expressions in the result set, in order
to enable better query optimization.

FossilOrigin-Name: a49e909c8738317c8383ce93771c0a9c4cf270bc
2012-04-27 01:09:06 +00:00
dan 430e74cd9b Change all.test, quick.test and permutations.test so that they use a separate interpreter for each test file.
FossilOrigin-Name: 7c33eb5a5add8fe76dd412ecab5b6ff8cd78a98d
2010-06-07 17:47:26 +00:00
danielk1977 4b86ef1d87 Fix a problem with LIMIT and OFFSET clauses on the parent query when optimizing a UNION ALL sub-select. (CVS 5332)
FossilOrigin-Name: a79786a961dba8f4ffaddbe55e6467c14b12f7d6
2008-07-01 14:39:35 +00:00
danielk1977 7a8097b6d8 Add a couple of tests to see if the new compound select optimizations work when the compound select is hidden inside a view. (CVS 5327)
FossilOrigin-Name: 1a711249c25aafbaf08057ffdcbb9cf2f872f13d
2008-06-30 07:53:09 +00:00
danielk1977 6fb6444c3e Add a few extra tests to select9.test. (CVS 5296)
FossilOrigin-Name: 37b084fd7d7ad7f13fc9454fc25ca5aed48d4a31
2008-06-24 15:39:43 +00:00
danielk1977 9afe68477d Add start of new test file "select9.test". To test LIMIT, OFFSET and ORDER BY on compound SELECT statements. (CVS 5293)
FossilOrigin-Name: 3a13e943d8fb4060fc1f0f827a156a730ee64be0
2008-06-24 11:21:20 +00:00