Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
whereInt.h
ba56f70
Compute WhereLevel.addrBrk and .addrHalt early so that those labels can be
by drh
· 3 weeks ago
d3a13f7
Improved debugging output for the transitive constraint optimization.
by drh
· 5 weeks ago
7bd72d4
Fix alignment problems on Linux with -m32 and on Mac PPC.
by drh
· 4 months ago
cebf06c
Make use of the flexible-array feature of C99, when available, to try to
by drh
· 4 months ago
fe54b7a
Small size and complexity reduction on the star-query heuristic. Improved
by drh
· 6 months ago
fb9e8e4
Revise the strategy used by the star-query heuristic: Instead of decreasing
by drh
· 6 months ago
f1c5830
Minor tweaks to the star-query detection and processing.
by drh
· 6 months ago
874b5e9
Variable names and conditional logic simplified in where.c. These
by drh
· 6 months ago
14101a3
Experimental change to explain query plan to identify covering indexes on expressions.
by dan
· 9 months ago
eqp-covering-index-on-expr
d55ab84
Add the SQLITE_INDEX_SCAN_HEX bit to the sqlite3_index_info.idxFlags bitmask.
by drh
· 11 months ago
235b5d0
If a subquery is materialized due to an ORDER BY and that ordering is useful
by drh
· 11 months ago
54bfc94
Remember the amount of the heuristic cost adjustment associated with
by drh
· 1 year, 2 months ago
c34ff12
Use a heuristic in the query planner to help it better cope with large
by drh
· 1 year, 2 months ago
8a630c2
Change parameters on a debugging function to include "const".
by drh
· 1 year, 7 months ago
658096e
The view-scan optimization was added to enhance the performance of one specific
by drh
· 1 year, 10 months ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
84606c9
Rework the covering index checking routine, whereIsCoveringIndex(), so that
by drh
· 2 years, 8 months ago
f55a7da
This branch attempts to improve the detection of covering indexes. This
by drh
· 2 years, 9 months ago
63b3a64
The generalized indexed expression optimization of [2435112867fbd7b6] makes
by drh
· 2 years, 9 months ago
3b88065
Fix references to "SrcList_item" in comments as that object has since
by drh
· 2 years, 9 months ago
a3fc683
In the query planner, add a heuristic that will reduce the cost of a full
by drh
· 2 years, 11 months ago
0f4b534
Candidate fix for the problem with row-value WHERE clause constraints on
by drh
· 3 years, 2 months ago
cc212e4
Fix a bug in the sqlite3WhereMalloc() routines that were added by
by drh
· 3 years, 2 months ago
b77c312
For debug builds, if the RIGHT JOIN body subroutine contains a jump that
by drh
· 3 years, 3 months ago
2bd9f44
Change OP_Return such that if P3 is 1, the Return is a no-op when the
by drh
· 3 years, 3 months ago
949e2ab
Factor out the RIGHT JOIN non-matched row loop from sqlite3WhereEnd(). This
by drh
· 3 years, 3 months ago
6134b2d
Fix handling of "continue" and "break" from inside the loop for the right
by drh
· 3 years, 3 months ago
7c1734b
The interior of the RIGHT JOIN loop is now a subroutine.
by drh
· 3 years, 3 months ago
c2308ad
A few bits and bobs of code generation toward getting RIGHT JOIN to work.
by drh
· 3 years, 3 months ago
f8bdcfa
The sqlite3WhereMalloc() routine allocates memory that is automatically
by drh
· 3 years, 3 months ago
69b0ce3
Fix various harmless compiler warnings.
by drh
· 3 years, 6 months ago
02e3e04
For the MULTI-INDEX-OR optimization, when pushing down WHERE clause terms from
by drh
· 3 years, 6 months ago
0fe7e7d
Add new interfaces to enable virtual table to process IN operator constraints
by drh
· 3 years, 6 months ago
8f2c0b5
Query planner always honors the aConstraintUsage[].omit flag for the
by drh
· 3 years, 6 months ago
895bab3
Give the virtual table xBestIndex method access to (some) OFFSET and LIMIT
by drh
· 3 years, 6 months ago
57c58b4
Omit the WhereLoopBuilder.pOrderBy field, which is no longer needed.
by drh
· 3 years, 6 months ago
8a95d3d
Simplify the generation of the sqlite3_index_info object during query planning
by drh
· 3 years, 7 months ago
7e910f6
Add SQLITE_TESTCTRL_LOGEST and enhance the LogEst utility program.
by drh
· 3 years, 7 months ago
fb82caf
Improvements on the decision of whether or not to use a Bloom filter.
by drh
· 3 years, 7 months ago
c491a25
Merge the WhereClause fix from trunk
by drh
· 3 years, 7 months ago
132f96f
In the WhereClause object, do not assume that all TERM_VIRTUAL terms appear
by drh
· 3 years, 7 months ago
6ae49e6
Run as many Bloom filters as possible before index lookups.
by drh
· 3 years, 8 months ago
35685d3
Try to run all Bloom filters before any Seeks. This gives a small performance
by drh
· 3 years, 8 months ago
fa35f5c
First attempt to use Bloom filters to optimize star-schema queries.
by drh
· 3 years, 8 months ago
2b05905
Merge recent trunk enhancements into the bloom-filter branch.
by drh
· 3 years, 8 months ago
dae2a10
Small performance optimization in sqlite3WhereGetMask().
by drh
· 3 years, 8 months ago
2db144c
Add a Bloom filter to the automatic-index mechanism.
by drh
· 3 years, 8 months ago
0475629
Protect access to the WhereLoop.u union using nearby assert()s and branches.
by drh
· 3 years, 9 months ago
67656ac
When applying the optimization that disables WHERE clause terms that drive
by drh
· 4 years, 3 months ago
6068b6b
Additional debugging output for whereScanNext() showing equivalence classes
by drh
· 4 years, 3 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
6cca0aa
Always enable the IS NOT NULL optimization, even if STAT4 is not enabled.
by drh
· 4 years, 6 months ago
c0622a4
Alternative implementation of ".selecttrace" and ".wheretrace" that uses
by drh
· 4 years, 8 months ago
68cf0ac
Revisiting the IN-scan optimization to try to fix it for the corner case
by drh
· 4 years, 10 months ago
75fa266
Small performance improvement and size reduction by reducing the size of
by drh
· 4 years, 10 months ago
5e6d90f
Experimental change to try to get some DELETE operations to access values
by drh
· 5 years ago
f06cdde
Rework this changes so that instead of setting the WhereTerm.truthProb when
by drh
· 5 years ago
stat4-truthprob
89efac9
When stat4 information is available, try to use it to improve the truth
by drh
· 5 years ago
7d07a5f
Clean up the definitions of the TERM_ constants in the code generator.
by drh
· 6 years ago
17aceeb
Fix harmless compiler warnings.
by drh
· 6 years ago
36e678b
The sqlite3WhereEnd() call now unwinds all Expr modifications made by the
by drh
· 6 years ago
be3da24
Add the OP_FinishSeek opcode which completes an OP_DeferredSeek if the seek
by drh
· 6 years ago
cacdf20
Expose some of the Where data structure debug printing routines to the
by drh
· 6 years ago
898c527
When flipping ("commuting") a comparison operator, set the new EP_Commuted
by drh
· 6 years ago
c7d12f4
When we play games with COLLATE in order to commute an operator in the
by drh
· 6 years ago
ec3dda5
Invert the meaning of the regBignull flag so that it is 1 when doing the
by drh
· 6 years ago
74e1b86
Extra VDBE comments in the NULLS LAST logic provide landmarks to help
by drh
· 6 years ago
15750a2
Add support for using indexes for some ORDER BY clauses that use non-default NULL handling. Still some problems on this branch.
by dan
· 6 years ago
175b8f0
Remove support for STAT3. The sqlite_stat3 tables are ignored, if they
by drh
· 6 years ago
192418b
Fix a problem with queries of the form "SELECT min(<expr>) ... WHERE <expr>=?" where there is an index on <expr>. Fix for [71e183ca].
by dan
· 6 years ago
a79a0e7
When using an index for both DISTINCT and ORDER BY, do not confuse the number of columns required for distinctness with the number required to get the correct sort order. Fix for [6749cb3c].
by dan
· 6 years ago
tkt-6749cb3c
d9bc6e8
Fix some harmless compiler warnings.
by mistachkin
· 6 years ago
warnings
47df8a2
Increase the number of parameters to sqlite3WhereCodeOneLoopStart() to
by drh
· 7 years ago
6fb5d35
Use compile-time options SQLITE_QUERY_PLANNER_LIMIT and
by drh
· 7 years ago
fc9098a
Put a limit counter on the query planner that restricts the number of
by drh
· 7 years ago
ccf6db5
Performance improvement to sqlite3WhereExprUsage().
by drh
· 7 years ago
da230bd
Avoid invoking the whereLoopAddOr() routine in the query planner if there
by drh
· 7 years ago
f7b0a5f
Add the WHERE_IN_EARLYOUT flag and use it to clarify the logic of this
by drh
· 7 years ago
a0368d9
Demonstration code on a possible technique for optimizing the use of IN
by drh
· 7 years ago
e2188f0
Fix harmless compiler warnings associated with the new EXPLAIN QUERY PLAN logic.
by drh
· 7 years ago
1d7b0a5
Fix the sqlite3WhereTrace mechanism so that it compiles with
by drh
· 7 years ago
303a69b
Refactor names of constants and functions associated with the auxiliary
by drh
· 8 years ago
vtab-extra-ops
d3930b1
Fix another problem on this branch.
by dan
· 8 years ago
172806e
Fix the skip-ahead-distinct optimization so that it works with indexes that
by drh
· 8 years ago
aca19e1
Proof of concept for the ability to use the expression columns in an index
by drh
· 8 years ago
a3928dd
Set the TF_StatsUsed flag on tables when the query planner outcome is
by drh
· 8 years ago
e9ba910
Change the name of WhereInfo.pDistinctSet to pResultSet, since it is now
by drh
· 8 years ago
87c05f0
Avoid unnecessary memset() calls in the query optimizer.
by drh
· 9 years ago
8da209b
Fix where.c handling of "IN (SELECT ...)" expressions when the SELECT returns more than one result column. Also error handling for other row value constructor cases.
by dan
· 9 years ago
71c57db
Add some support for using row value constructors in certain parts of SQL expressions. There are many bugs on this branch.
by dan
· 9 years ago
c84a402
Improvements to WHERE-clause debug tracing. Show TK_MATCH expressions and
by drh
· 9 years ago
a536df4
In a query with both ORDER BY and LIMIT, if the inner loop satisfies the
by drh
· 9 years ago
44aebff
Improvements to the way the LIKE optimization is implemented, resulting in
by drh
· 9 years ago
4971160
Add the SF_HasAgg constant (currently unused). Also enhance the comments on
by drh
· 9 years ago
f1b5ff7
Rename WhereInfo.pResultSet to pDistinctSet to more accurately reflect what
by drh
· 9 years ago
c3489bb
Take the LIMIT clause into account when estimating the cost of sorting.
by drh
· 9 years ago
f19aa5f
Changes to the way that the default BINARY collating sequence is recorded
by drh
· 10 years ago
41d2e66
Add the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option.
by drh
· 10 years ago
07bdba8
Add experimental support for LIKE, GLOB and REGEXP to the virtual table interface.
by dan
· 10 years ago
b0264ee
Use symbolic names ONEPASS_OFF, ONEPASS_SINGLE, and ONEPASS_MULTI for the
by drh
· 10 years ago
Next »