aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Catch vector size mismatch problems during name resolution to avoid laterdrh2016-09-05
| | | | | problems. FossilOrigin-Name: 56562a0346170cf7b72445976864b058437a8ac3
* Fix a problem causing the affinity of sub-select row-value elements to be ↵dan2016-09-03
| | | | | ignored in some contextes. FossilOrigin-Name: 7d9bd22c0715ede2592ee1fa7ebc215aded1ca1b
* Performance optimizations.drh2016-09-03
| | | FossilOrigin-Name: f1d06c49ba0d814dc7ffb538aac3f4e6251fd8f0
* Fix a minor problem in sqlite3FindInIndex() related to rowids being useddrh2016-08-26
| | | | | as part of the index. FossilOrigin-Name: 829f802be7d4647dd815b739bbc9e1d1ac6a224d
* Fix the sqlite3FindInIndex() to ensure that it always uses a prefix ofdrh2016-08-26
| | | | | the index and uses no repeated columns. Enhanced comments. FossilOrigin-Name: b9fc89e432fbe4e5b41959a42797641907e075e3
* Add an EXPLAIN QUERY PLAN line for when a index is used to implementdrh2016-08-26
| | | | | an IN operator. FossilOrigin-Name: 171aa833a2e1650c3d9cf9bd6438ae46f6c35871
* Enhance sqlite3FindInIndex() so that it is able to make use of thedrh2016-08-26
| | | | | primary keys at the end of an index. FossilOrigin-Name: 4b589fbfcc4265902de0f552961d2df497a184da
* Allow ROWID values in indexed vector comparisons.drh2016-08-26
| | | FossilOrigin-Name: b0cc6be4eb81f21b11796e1f14d4412bf21dea6e
* Comment improvements. Put ALWAYS and NEVER macros on three unreachabledrh2016-08-26
| | | | | branches. FossilOrigin-Name: 397617009e07004596476d6f5644fdf84c376f54
* Remove an unreachable branch from sqlite3ExprAffinity()drh2016-08-26
| | | FossilOrigin-Name: 9d96f61481704e5ec399ee425f0ebb246902ecc5
* Refactor the sqlite3ExprCodeIN() routine for improved maintainability.drh2016-08-25
| | | FossilOrigin-Name: b56705ae6374db9db82613ef89faa1a1e6b00a18
* Improvements to IN operator code generator comments. Avoid unnecessarydrh2016-08-25
| | | | | Copy operations on the LHS of the IN operator. FossilOrigin-Name: b6344298783a1207cba3f635939ddc9ba922ab67
* Simplified VDBE code for the vector NOT IN null-scanning loop.drh2016-08-24
| | | FossilOrigin-Name: 7ae504e62e9bbbbd85a676f3c3922b7fd0cc73d2
* In sqlite3FindInIndex(), improve internal comments and avoid andrh2016-08-24
| | | | | unreachable branch. FossilOrigin-Name: 55945fc12f8157e32e6850e41575c0c6422d29e7
* Fix more unreachable branches.drh2016-08-24
| | | FossilOrigin-Name: 6099c180db55396d6307538a5428ae5ef1b82d10
* Add a NEVER() on an unreachable branch in comparisonAffinity().drh2016-08-24
| | | FossilOrigin-Name: 505a2f20eac62d4e170f003255c8984e4f3b0918
* The previous OOM fix was bad. Back it out and replace it with a better one.drh2016-08-24
| | | FossilOrigin-Name: 1e3bc3698a4b779e6af8e3c727929c4dbddf3edb
* Avoid a potential null-pointer dereference following an OOM.drh2016-08-24
| | | FossilOrigin-Name: 25f6ed8de4df9c9890d4a352a6d11084433e82ea
* Simplify the row value misuse error message.drh2016-08-23
| | | FossilOrigin-Name: 838c50a5bf46fd0340839d577fa28ba02b4f2034
* Fix a problem with rowvalue UPDATE when the rowvalue is not the left-most anddrh2016-08-23
| | | | | the RHS is a multi-column subquery. FossilOrigin-Name: e149e6b93a9afb3d574309c0db60e221e24078f7
* Fix an uninitialized variable in CASE expression code generation.drh2016-08-23
| | | FossilOrigin-Name: c8ffae05e13033ec7425bf0f002df31f550bb7f1
* Fix the vector BETWEEN operator so that it only evaluates the left-mostdrh2016-08-22
| | | | | | vector expression once. Add support for vector comparisons in the CASE operator. FossilOrigin-Name: 07e69f43a294d35b5145a2b0242ee42d50adab14
* Reinstate the mechanism in BETWEEN that avoids evaluating the first expressiondrh2016-08-22
| | | | | | | more than once, but fix the affinity extractor so that it works with this mechanism. The de-duplication of the first expression still does not work for vector expressions, though. FossilOrigin-Name: 2f39987f21bd6dae8d2be610a1fd5f06f8878e9e
* The docs promise the in "x BETWEEN y AND z" the x expression is only evaluateddrh2016-08-20
| | | | | | once. That is no longer true, and so some tests are failing. This needs to be fixed before merging to trunk. FossilOrigin-Name: e50d264fdc2f08d19202c68f73f18df301cb233d
* Further comment enhancements. No changes to code.drh2016-08-20
| | | FossilOrigin-Name: d4562a9e7b1eaff41466210e3a0caaf374ec5a92
* Clarification of code comments in expr.c. Clean up the implementationsdrh2016-08-20
| | | | | of sqlite3ExprIsVector() and sqlite3ExprVectorSize() slightly. FossilOrigin-Name: 4fb66d6592b141a4a71359250dbd1ac454569cb9
* Fixes for problems following OOM errors.drh2016-08-20
| | | FossilOrigin-Name: 9041ee4a6f0e8389297f887f1431ab5cfe783390
* Do not duplicate the Expr.pLeft subtree of a TK_SELECT_COLUMN node.drh2016-08-20
| | | FossilOrigin-Name: 8384c77ebb3f65fbc54c199885926f2066f0b140
* Fix a segfault that could occur if a query that used a vector comparison ↵dan2016-08-20
| | | | | contained certain types of syntax errors. FossilOrigin-Name: 203f07c5e140e74cf91d0c1e20135c21236f0fc1
* Improvements to comments. No code changes.drh2016-08-20
| | | FossilOrigin-Name: 4165d20f64d778a4e48f511a37cfced8579d4dbe
* Add support for vector assignments in the SET clause of an UPDATE statement.drh2016-08-20
| | | FossilOrigin-Name: f320d47d6b7b08d9552c8444004bc256348bda90
* Change the way TK_SELECT_COLUMN is handled so that the subquery is onlydrh2016-08-20
| | | | | | | generated once even if part of the vector comparison is used for indexing and the other part is now. This change also is a pathway to vector assignment in UPDATE statements. FossilOrigin-Name: d8feea7dcde83179bff303072426561cfe825e58
* Improved comments on sqlite3CodeSubquery(). No changes to code.drh2016-08-19
| | | FossilOrigin-Name: acea4ee136def4815d22eec240c5903a72bde9bd
* Fix to the vector less-than operator. All legacy tests passing now.drh2016-08-13
| | | FossilOrigin-Name: ec70a67ebc997f457be4d52d8affc37e142dc3ff
* Attempt to simplify the logic and generated code for vector comparisons.drh2016-08-13
| | | | | | Basic comparison operators are working, but there are many indexing test failures still to be worked through. FossilOrigin-Name: dfc028cfbe7657d20727a2670ecadb1575eb8cbb
* Add VdbeCoverage() macros on newly added VDBE branch operations.drh2016-08-12
| | | FossilOrigin-Name: 381aa73141db8ec59adbcb09e71af660ee4ae5ce
* Fix a post-OOM memory leak.drh2016-08-12
| | | FossilOrigin-Name: 14009b32b955b42cfd5f0c2ce7d4b3ce19ce201e
* Fix some problems with handling "no such collation sequence" errors.dan2016-08-11
| | | FossilOrigin-Name: 8278be06fa69e3266866220bdaf5be45a5fcfa23
* Merge trunk changes with this branch.dan2016-08-08
|\ | | | | FossilOrigin-Name: 0e927a7e0250a65fd8e97b322cd69e93fadd13f0
| * Add the experimental SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION compile-time option.drh2016-08-04
| | | | | | | | | | | | | | | | | | When enabled, the "unknown function" error is suppressed for EXPLAIN and a no-op function named "unknown()" is substituted. This facilitiates using the command-line shell to analyze queries from applications that contain many application-defined functions that are not normally available to the shell. FossilOrigin-Name: b7f30a9ff20d580fdaecdcf2b644d09ad6c2575e
* | Fix stat4-based cost estimates for vector range constraints.dan2016-08-03
| | | | | | FossilOrigin-Name: 18af74abc8ceae47ab9fbee3e3e5bb37db8fcba5
* | Fix SQLITE_OMIT_SUBQUERY builds.dan2016-08-02
| | | | | | FossilOrigin-Name: 339f85f414a484e44d2502d1ff7281caf9b7c838
* | Fix a problem with vector range constraints involving the rowid column. And ↵dan2016-08-01
| | | | | | | | | | other issues. FossilOrigin-Name: 3ef75d45ebcd8ede91596d69e55fe7d685008a60
* | Fix a problem with IN(...) constraints where the LHS is a sub-select that is ↵dan2016-08-01
| | | | | | | | | | an aggregate query. FossilOrigin-Name: 1f4dba87da4a44ad26223ad965731164c0d9bad9
* | Fix problems with vector == comparisons and NULL values.dan2016-07-30
| | | | | | FossilOrigin-Name: 059d0d05354e6efab7892c97b339ffa0b5303587
* | Remove the EP_Vector expression flag.dan2016-07-30
| | | | | | FossilOrigin-Name: e9d9c6d46b46160fad6aa6e3441a65a09157515f
* | Fix some issues with vector range constraints and the column cache. Also ↵dan2016-07-29
| | | | | | | | | | vector range constraints and rowid columns. FossilOrigin-Name: 42607366bfc2dceb1013797a973b3b8df75dcb4d
* | Change the way "(a, b) = (SELECT *)" expressions are handled in where.c if ↵dan2016-07-29
| | | | | | | | | | there is an index on one of the columns only. FossilOrigin-Name: 4dfebff2924f46284d5b9cda69175f79b29d6028
* | Fix further issues with multi-column IN(...) operators. Also some error ↵dan2016-07-28
| | | | | | | | | | handling cases surrounding row values. FossilOrigin-Name: cc3f6542bec99b00d2698889bcea2aa0b587efa0
* | Merge latest trunk changes into this branch.dan2016-07-28
|\| | | | | FossilOrigin-Name: 9685880f7baeb670739fdcf2d9df08e22abaa699