drh
be837bddad
Avoid assertion faults in queries using indices with redundant columns.
...
Ticket [3dbdcdb14e7f41].
FossilOrigin-Name: 946e06cd2a2cc209b0786b7e9d28c0746320d646
2010-04-30 21:03:24 +00:00
drh
9373b01882
Restrict the RANDOM() function to have zero arguments. Ticket #3627 . (CVS 6229)
...
FossilOrigin-Name: b8b546b6ed799dc1621ef7b06273249af1042fb2
2009-02-02 01:50:39 +00:00
drh
d1d384888b
Add the experimental sqlite3_stmt_status() interface. (CVS 5781)
...
FossilOrigin-Name: de473efb35ffdf9a8222a70a84dfd7d3198c87c1
2008-10-07 23:46:38 +00:00
danielk1977
284f4aca32
Fix compilation/testing with OMIT_SUBQUERY defined. Ticket #2828 . (CVS 4603)
...
FossilOrigin-Name: 0b34a18651764e650faba983be8593992ab2f4a9
2007-12-10 05:03:46 +00:00
danielk1977
4152e677b8
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
...
FossilOrigin-Name: c8405b15c074c94dab5e33272cf1471f458d11df
2007-09-12 17:01:45 +00:00
drh
3e35580779
Disable the OR optimization if it would conflict with column
...
affinity coercions. Ticket #2249 . Additional cleanup and testing
of the OR optimization. (CVS 3658)
FossilOrigin-Name: 908daaa9ab86e0bd1da6d0807d6aaba240c3cee0
2007-02-23 23:13:33 +00:00
drh
382765866b
Fix a bug in the optimizer that was causing it to miss an OR optimization
...
opportunity. (CVS 3502)
FossilOrigin-Name: 9bf153b54c6e9ba16914dedd9e2949f32d7550ea
2006-11-06 15:10:05 +00:00
drh
ffe0f8901e
Correctly handle multi-column indices where multiple columns are constrained
...
by IN operators with subqueries on the right-hand side. Ticket #1807 . (CVS 3184)
FossilOrigin-Name: b16541ba5e6a9514f9f317888117c68b6818f9cb
2006-05-11 13:26:25 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977
ff890793fc
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
...
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
danielk1977
1576cd9251
Fixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include EXISTS keyword (for new CREATE TABLE syntax). Test file fixes. (CVS 2943)
...
FossilOrigin-Name: 8e79a0c24a03ccf960d6ccfb7c6b9b0f7c614e9b
2006-01-14 08:02:28 +00:00
drh
8718f52624
Disable an overzealous optimization the omitted sorting on a join if the first
...
table gave a unique result. The sort can only be omitted if all tables in
the join are unique. Ticket #1358 . (CVS 2589)
FossilOrigin-Name: 4f07661279fb11a06b3ddffeda672f077c0d306a
2005-08-13 16:13:04 +00:00
drh
943af3cda1
Fix problems caused by over-agressive optimization of ORDER BY in joins.
...
Lots more testing needed. (CVS 2571)
FossilOrigin-Name: 1a4e526d46280970b43505a5c8a4090767c63043
2005-07-29 19:43:58 +00:00
drh
6c30be8e51
Optimizer now converts OR-connected WHERE-clause terms into an IN operator so
...
that they can be used with indices. There are known problems with the
ORDER BY optimization in this and in several prior check-ins. This
check-in is not recommended for production use. (CVS 2569)
FossilOrigin-Name: d23c8bf81e508722e92ff1b9c8bc98dc026a31f2
2005-07-29 15:10:17 +00:00
drh
ed37800693
The BETWEEN operator in a WHERE clause is now able to use indices. (CVS 2568)
...
FossilOrigin-Name: cdf8c9584b945212e065e044df801c207aedb675
2005-07-28 23:12:08 +00:00
drh
a611040eea
Test cases and tuning of the new optimizer code. (CVS 2567)
...
FossilOrigin-Name: 4b02703dec71aa78e5f8d8cab5b950966a4c6abc
2005-07-28 20:51:19 +00:00