Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
expr.c
74cc109
Ensure that the accumulator for an aggregate always gets initialized,
by drh
· 29 hours ago
e33ea17
Fix harmless compiler warnings.
by drh
· 2 weeks ago
0e6e05d
Make the value of an explicit LIMIT clause on a scalar sub-query available to xBestIndex for simple "LIMIT 0" and "LIMIT 1" queries.
by dan
· 2 weeks ago
46bfcc1
Improved byte-code comments for the short-circuit optimization of
by drh
· 3 weeks ago
d82c6a2
When attempting to optimize "expr AND false" to "false" and
by drh
· 3 weeks ago
280559b
For all binary operators, try to avoid computing subquery operands if the
by drh
· 3 weeks ago
optimize-null-values
e2e81e6
Slightly smaller and faster version of the previous check-in.
by drh
· 3 weeks ago
e24f20a
Factor out the code that tries to avoid evaluating subquery operands if the
by drh
· 3 weeks ago
311d73e
Improve the bytecode generated for comparisons so that if one operand is
by drh
· 3 weeks ago
c52e9d9
Raise an error right away if the number of aggregate terms in a query
by drh
· 3 weeks ago
ab9c91a
Extend the pedantic enforcement of type to VIRTUAL columns.
by drh
· 4 weeks ago
342ef63
Improve the accuracy of affinity and collating sequence analysis for
by drh
· 7 weeks ago
288f356
Fix a bug in the NOT NULL/IS NULL optimization of check-in [cb94350185f555c3]
by drh
· 2 months ago
88ed180
Fix an issue in Bloom filters on RHS subsqueries to IN operators.
by drh
· 3 months ago
cebf06c
Make use of the flexible-array feature of C99, when available, to try to
by drh
· 4 months ago
da5f813
Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.
by stephan
· 5 months ago
ce25007
Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need
by drh
· 5 months ago
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
0a4af54
Remove a pointless line of code.
by drh
· 5 months ago
9d90a3a
Use the sqlite3ColumnIndex() routine to look up a column in a table, rather
by drh
· 5 months ago
49906e8
The reuse-subroutine optimization [c9a3498113074bbc] might have generated
by drh
· 6 months ago
8b62a82
Simplifh the IdList object to remove unnecessary fields. Performance
by drh
· 6 months ago
4b5e8c9
Better job at suppressing harmless scan-build warnings. This time testing
by drh
· 6 months ago
27661f2
Fix harmless scan-build warnings.
by drh
· 6 months ago
35d302c
Increase the maximum number of arguments on an SQL function to 1000 with the
by drh
· 7 months ago
c9ac238
Fix a comment typo on the sqlite3ExprIsSingleTableConstraint() routine.
by drh
· 8 months ago
03e306b
A NEVER() that was added by [eb5ac9e5b9a4f9c8] is violated by the ifnull()
by drh
· 8 months ago
5c208f3
Fix a NEVER() in the iif() logic that can be true if compiled with
by drh
· 8 months ago
dc7b94e
Simplification to the fix in the prior check-in.
by drh
· 8 months ago
expr-implies-expr
3ff6aa6
The sqlite3ExprCompare() routine should always compare the same variables
by drh
· 8 months ago
bfb7f77
Add two NEVER() conditions.
by drh
· 8 months ago
60ad526
Enhancements to sqlite3ExprImpliesExpr() so that it realizes that
by drh
· 8 months ago
7998b88
Add an ALWAYS() on a branch in the new indexed-subtype logic.
by drh
· 9 months ago
indexed-subtype-expr
ddc764b
Add a NEVER() to an unreachable branch in the new indexed-subtype logic.
by drh
· 9 months ago
d564bdb
Allow expressions with subtypes to be read from indexes unless they are being used as direct or indirect parameters to SQLITE_SUBTYPE functions.
by dan
· 10 months ago
c857b9e
Experimental change to allow expressions with subtypes to be read from indexes in situations where they are not used as function parameters.
by dan
· 10 months ago
1521ca4
Refactor the SrcItem object so that information about subqueries is stored
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
8797bd6
Reduce the size of the SrcItem object by combining fields into a union.
by drh
· 11 months ago
aecfb0a
Fix an oversized allocation in sqlite3ExprCodeIN().
by dan
· 12 months ago
68d700c
Fix a use-after-free that could occur following an OOM introduced by [d8cedbe0].
by dan
· 1 year ago
42123a2
Use a mini Bloom filter to help reduce the number of pointless searches for
by drh
· 1 year ago
615fc1f
Small performance optimizations.
by drh
· 1 year ago
reuse-subqueries
42305fc
Disable the reuse of IN-clause subqueries if the subquery is an explicit
by drh
· 1 year ago
0cf237c
Be more aggressive about reusing subqueries that appear on the RHS of IN
by drh
· 1 year, 1 month ago
6172e43
Use a Bloom filter to improve performance of IN operators when the RHS of
by drh
· 1 year, 1 month ago
6adbdac
Add a NEVER() around a branch in sqlite3ExprAffinity() that is designed to
by drh
· 1 year, 1 month ago
f13e2d2
Additional steps to make sure calls to sqlite3ExprToRegister() are sane.
by drh
· 1 year, 1 month ago
4703b7d
Better optimize queries that use parameters in the LIMIT clause.
by drh
· 1 year, 1 month ago
89b04f3
Ensure that queries like "SELECT indeterministic(a) FROM tbl GROUP BY 1" invoke the indeterministic function only once for each row of tbl.
by dan
· 1 year, 2 months ago
c83386c
Merge branches "fix-onerow-opt", "faster-openread", "fts5-delay-tokenizer" and "enhanced-raise", each containing minor enhancements prepared for 3.47, into this branch.
by dan
· 1 year, 2 months ago
pending-3.46
3254206
The sqlite3FaultSim(300) error from [1e8863909ac369e5] must be treated as
by drh
· 1 year, 2 months ago
788ade3
Allow arbitrary expressions as the second argument to RAISE().
by drh
· 1 year, 2 months ago
enhanced-raise
ebf9702
Avoid unnecessary recursion in sqlite3ExprDeleteNN(). This complicates the
by drh
· 1 year, 2 months ago
5b27eca
Avoid slowdown when exprNodeIsConstant() is called on deeply nested SQL functions.
by dan
· 1 year, 3 months ago
660322f
Merge trunk enhancements into the pushdown-subquery branch.
by drh
· 1 year, 3 months ago
05c6d13
Add comments to note the name abiguity between the MySQL push-down
by drh
· 1 year, 3 months ago
6951c49
Do not allow changes to sqlite3ExprIsTableConstant() that support pushdown of
by drh
· 1 year, 3 months ago
de6a4be
Generalize pushdown to allow any uncorrelated subquery to be pushed down.
by drh
· 1 year, 3 months ago
743ae4c
Experimental enhancement in which expressions of the form "expr IN table"
by drh
· 1 year, 3 months ago
a509a90
The RAISE() operator is not a constant expression and cannot participate in
by drh
· 1 year, 4 months ago
a631eb3
Do not automatically assume that ROWID is NOT NULL when compiled with
by drh
· 1 year, 4 months ago
27ea83f
Make sure the new u1.nRow value is copied when making a copy of a SrcItem
by drh
· 1 year, 4 months ago
871786b
Fix the patch at [10ee6fcba08ab128] so that it works on reduced-size Expr nodes.
by drh
· 1 year, 4 months ago
2f4a8cc
Fix a problem caused by a non-aggregate function with an OVER clause in a multi-row VALUES clause.
by dan
· 1 year, 4 months ago
ec00a4d
A formerly impossible case has now become possible because of the new
by drh
· 1 year, 4 months ago
enhanced-expr-is-const
7dc3e92
Further expand the scope of usage for the enhacement to expr-is-constant.
by drh
· 1 year, 4 months ago
4713b2d
Assert that the eCode is always non-zero upon entry into exprNodeIsConstant().
by drh
· 1 year, 4 months ago
40514dd
Fix exprNodeIsConstantFunction() so that it returns WRC_Continue, not WRC_Abort, if the function really is constant.
by dan
· 1 year, 4 months ago
f696591
Enhance the sqlite3ExprIsConstant() function so that it recognizes
by drh
· 1 year, 4 months ago
815e055
Attempt to reduce the memory used by VALUES clauses in as many statements as possible, not just INSERT. This branch still has problems.
by dan
· 1 year, 4 months ago
7ab40cd
Remove code that added a P4 parameter to the OP_Variable opcode. This is no longer required.
by dan
· 1 year, 5 months ago
8597eee
Always convert 32-bit integer literals into EP_IntValue notation, even if
by drh
· 1 year, 5 months ago
71a32ae
Remove an ALWAYS() added in [c50e6c2ace49d092] because it is sometimes false.
by drh
· 1 year, 7 months ago
c52aebb
Remove redundant conditional from sqlite3ExprCanBeNull().
by drh
· 1 year, 7 months ago
09259af
Add ALWAYS() and NEVER() on branches made unreachable by recent changes.
by drh
· 1 year, 7 months ago
3e2ec83
Ignore COLLATE operators when determining whether the result of a subexpression
by drh
· 1 year, 7 months ago
a3569fb
Extra ALWAYS() macros to verify state in the sqlite3ExprCanBeNull() routine.
by drh
· 1 year, 7 months ago
07117f8
Pass subtype information through the aggregate ORDER BY sorter for
by drh
· 1 year, 7 months ago
agg-orderby-subtype
f86a07b
Add ALWAYS() on branches added in [ec0ae4030968c782] that are always true.
by drh
· 1 year, 8 months ago
82fc1b6
Work around LLVM's newfound hatred of function pointer casts.
by drh
· 1 year, 8 months ago
4f77a27
Back out an incorrect change to the sqlite3ExprCompareSkip() function that
by drh
· 1 year, 8 months ago
7df0446
Add NEVER() to a branch made unreachable by [6f9eed826f5b3d1c].
by drh
· 1 year, 8 months ago
d928e78
Fix another obscure problem with nested aggregates. dbsqlfuzz 04408efc51.
by dan
· 1 year, 8 months ago
5ba99da
Fix harmless compiler warnings in test code.
by drh
· 1 year, 9 months ago
8f99cb9
When doing a DISTINCT aggregate that contains an ORDER BY, only the
by drh
· 1 year, 9 months ago
bd8941a
Fix sqlite3ExprDup() alignment assertions so that they work on 32-bit platforms.
by drh
· 1 year, 9 months ago
5e6dde3
Fix [f5c01676fd281e93] so that it always preserves 8-byte alignment for Expr
by drh
· 1 year, 9 months ago
e98f62f
Omit some redundant calls to strlen() used to find the size of
by drh
· 1 year, 9 months ago
ab3eb5b
Improvements to the sqlite3ExprDup() logic for faster performance and better
by drh
· 1 year, 9 months ago
90e4a3b
Simplifications and optimizations to the Expr object duplication logic.
by drh
· 1 year, 9 months ago
d707e01
Use sqlite3ParserAddCleanup() instead of calling sqlite3ExprListDelete()
by drh
· 1 year, 9 months ago
5f53f85
For TK_ORDER expression nodes to always be full-size.
by drh
· 1 year, 9 months ago
5080397
Fix an adverse interaction between the new aggregate ORDER BY logic and the
by drh
· 1 year, 9 months ago
4e25464
Simplify the Expr compression logic slightly by adding the new EP_FullSize
by drh
· 1 year, 9 months ago
519017f
Fix the sqlite3ReferencesSrcList() routine so that it recognizes columns
by drh
· 1 year, 9 months ago
0b63364
Merge the latest changes from trunk.
by drh
· 1 year, 9 months ago
agg-orderby
69ff726
Fix a false-positive in run-time error checking.
by drh
· 1 year, 9 months ago
d05e54e
Changes for test coverage.
by drh
· 1 year, 9 months ago
20b95f8
Make sure all terms of the ORDER BY within an aggregate go through aggregate
by drh
· 1 year, 9 months ago
Next »