aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Allow the IN operator to take a list of arbitrary expressions on itsdrh2005-07-08
| | | | | | right-hand side. The expressions no longer need to be constant. The current implementation seems to work but needs more testing and optimization. (CVS 2542) FossilOrigin-Name: ba56478dd8bc2135749966ff55831fd497883781
* Change the name of the OpenTemp opcode to OpenVirtual which is moredrh2005-07-08
| | | | | descriptive of what it does. (CVS 2541) FossilOrigin-Name: 3bb9ce5f20d0a6bc19df31df9b8e82044c3e6004
* Allow the DEFAULT value of a column to be obtained by calling adrh2005-06-30
| | | | | function that has constant arguments, such as julianday('now'). (CVS 2534) FossilOrigin-Name: d273766ef2442eb87971b07f9ecf5682c88298ee
* Remove the blob(), text() and numeric() functions added in (2524) and drh2005-06-25
| | | | | | replace them with the standard CAST operator. Ticket #1287. (CVS 2527) FossilOrigin-Name: 17631785f9ee8ab280c82677eb53886912e085bc
* Allow parameters to be introduced by characters ':', '$' and '#'. Thisdrh2005-06-22
| | | | | is an experimental change. (CVS 2523) FossilOrigin-Name: f3427a139c3bd4faf9134ec6290b3eb829c0a19f
* Update older opcode names to be more meaningful in light of the latestdrh2005-06-12
| | | | | code design. (CVS 2506) FossilOrigin-Name: 36f2da1f8d8d434f861ecad55c9d86549751c954
* Reference count Table structures so that they are not deallocated too soon.drh2005-06-06
| | | | | Ticket #1210. (CVS 2498) FossilOrigin-Name: e73d25c7419d580c47925494621df26d2fb9f27e
* Avoid ambiguous column name errors when the column name is in the USING clausedrh2005-06-06
| | | | | of a join. Ticket #743. (CVS 2495) FossilOrigin-Name: 6a51bdeeff8312fa54fa2b1200f823428f35d605
* Naming the join columns in the result set of a natural join does not resultdrh2005-06-06
| | | | | in an "ambiguous column name" error. Ticket #1217. (CVS 2494) FossilOrigin-Name: 265fb6079c0a4b7a93f063939436db494ff1d56c
* Remove the config.h file from the build. Ticket #1224. (CVS 2480)drh2005-05-24
| | | FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
* Move a few things around to make building without the parser easier. (CVS 2479)danielk19772005-05-24
| | | FossilOrigin-Name: 5fadb464eb77b4b998d8555f83401769960ea904
* The REGEXP operator is recognized. It tries to invoke a function named drh2005-05-23
| | | | | | regexp() which does not exist in the native build. But users who want to can add an appropriate regexp() function using sqlite3_create_function(). (CVS 2478) FossilOrigin-Name: 42a626ace126f730f33ecb6c41ac5679d6766a31
* Make sure that the use of a double-quoted string literal does not trickdrh2005-05-23
| | | | | | the optimizer into using a correlated subquery when a static subquery would suffice. (CVS 2477) FossilOrigin-Name: ef4059e3afa1a61a9e59df00cdfedc57d8df9fec
* Remove some vestigal code. Add the experimental sqlite3_transfer_bindings()drh2005-04-22
| | | | | API. (CVS 2446) FossilOrigin-Name: 88b39436f00d645cdb6333a7413c698c42227d3f
* Assorted fixes to the handling of various malloc() failures. (CVS 2413)danielk19772005-03-21
| | | FossilOrigin-Name: e7844a01c248e8d9204ea9214bec84c81dc07f32
* Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388)danielk19772005-03-16
| | | FossilOrigin-Name: 9a358fc33d726d0b5782bf65b50f61f2bd096d56
* Support for a future ALTER TABLE command to add columns with default values. ↵danielk19772005-03-09
| | | | | (CVS 2367) FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
* Fix a problem with sub-queries and the flattening optimization. Also handle ↵danielk19772005-02-12
| | | | | an extra case of database corruption. (CVS 2324) FossilOrigin-Name: f7858d8830cdd0f57b8f9bc73068d29a7062b8ac
* Fix for correlated subqueries where the parent is an aggregate. Ticket ↵danielk19772005-02-08
| | | | | #1105. (CVS 2318) FossilOrigin-Name: f0d3ca10c5bccf8fca7143028ebb3e604c0e3f20
* Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket ↵danielk19772005-02-05
| | | | | #1096. (CVS 2316) FossilOrigin-Name: 515e5033a5482f55e7edb66d69ff3da7e234ff2e
* Remove code for SQL cursors. (CVS 2312)danielk19772005-02-04
| | | FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
* Have the optimization introduced in (2170) deal with OP_NullRow as well as ↵danielk19772005-01-30
| | | | | OP_Column and OP_Recno. Fix for #1086. (CVS 2290) FossilOrigin-Name: 356d31e03fe856642c5637f5ea5665947ff681fc
* Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286)danielk19772005-01-29
| | | FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
* Minor changes to avoid warnings on some compilers. (CVS 2267)danielk19772005-01-23
| | | FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
* Exclude a few more lines of code using OMIT macros. (CVS 2253)danielk19772005-01-21
| | | FossilOrigin-Name: c6fc49e61033419e78b6b10638d57f4942087961
* Bug fixes and enhancements entered while on jury recess. (CVS 2246)drh2005-01-20
| | | FossilOrigin-Name: 38401dfbd5e3b50dd4e7a11562a7770347cebdf4
* Added the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator.drh2005-01-20
| | | | | Regression tests are currently failing with an assertion fault. (CVS 2245) FossilOrigin-Name: d30fdf0f2c24cb74b48fab9b83fba4e4b2fe878a
* Remove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS ↵danielk19772005-01-20
| | | | | 2244) FossilOrigin-Name: 417bbba93ad7ed5c03d9db6afc12e170155bd152
* Expression generator bug fix. (CVS 2239)drh2005-01-20
| | | FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682
* Continued refactoring of the name resolution logic and query optimizer. (CVS ↵drh2005-01-19
| | | | | 2236) FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
* CREATE TABLE ... AS ... uses short names for columns. Ticket #1036. (CVS 2232)drh2005-01-18
| | | FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad
* Refinements to the name resolution logic. Change the name of thedrh2005-01-18
| | | | | keywordhash.c file to keywordhash.h. (CVS 2229) FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369
* Infrastructure changes to handle name resolution differently. This is neededdrh2005-01-17
| | | | | | to fix various long-standing problems with column names in joins. It will also make the implementation of correlated subqueries easier. (CVS 2228) FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782
* Test coverage improvements. (CVS 2215)drh2005-01-15
| | | FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
* Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)danielk19772005-01-13
| | | FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67
* Improvements to the query optimizer. This is a work in progress. (CVS 2169)drh2004-12-18
| | | FossilOrigin-Name: 9b86993ff721b577b920c7c67fb41d3d4355fe88
* Only evaluate expressions once for UPDATE and INSERT statements thatdrh2004-12-07
| | | | | have BEFORE triggers. Fix for ticket #980. (CVS 2158) FossilOrigin-Name: 4852186aca3be6ea40069b6831079197e5fa757a
* More work on the implementation of cursors, but they are still notdrh2004-11-23
| | | | | functioning. (CVS 2142) FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193
* Add initial infrastructure for cursors. In where.c, optimize out clausesdrh2004-11-22
| | | | | | of the form "ORDER BY rowid" if a table scan is being performed. Do a reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141) FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979
* Avoid excess heap usage when copying expressions. Ticket #979. (CVS 2127)drh2004-11-20
| | | FossilOrigin-Name: d10560c75244daebe55da5630ef7e7b84ba7f77a
* Fix segfaults that might occur after a malloc failure. (CVS 2119)drh2004-11-20
| | | FossilOrigin-Name: 368774487e7a0266465f5a1c2701c9b14573d26c
* Autoincrement code installed. Simple smoke-testing only. No regressiondrh2004-11-12
| | | | | tests developed yet. (CVS 2091) FossilOrigin-Name: 8fde833c812b91c5a574208a70b5f92b9d4b0a87
* Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of ↵danielk19772004-11-09
| | | | | sqlite. (CVS 2082) FossilOrigin-Name: 0d27c8ff48f327ad82dd5b5b3b47b8d221f119b7
* More use of sqlite3NestedParse. This version of the code does not work. ↵drh2004-11-05
| | | | | (CVS 2060) FossilOrigin-Name: ac2d5a605c873cac68bfde4bbe3797608a47b21e
* Insert #ifdefs that can optionally remove features at compiletime resultingdrh2004-10-31
| | | | | in a database engine with a smaller footprint. (CVS 2034) FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
* Save about 800 bytes of code space by aligning TK_ and OP_ constants so thatdrh2004-10-04
| | | | | we do not have to translate between them. (CVS 1998) FossilOrigin-Name: 4c817e3f293a9c1365e632f7dc13ae440263332a
* Code simplifications and size reductions. (CVS 1983)drh2004-09-25
| | | FossilOrigin-Name: cb631a135da92fd689ee40a8b7e2695a510eb765
* Fix for tickets #912 and #922. Problem introduced by check-in (1973). (CVS ↵drh2004-09-24
| | | | | 1975) FossilOrigin-Name: 9001e2220d2e35b81a9b7dc70c012f94bb6db679
* Add comments to unused P3 fields of selected instructions when NDEBUG isdrh2004-09-19
| | | | | not defined. This makes VDBE program dumps more readable during debugging. (CVS 1973) FossilOrigin-Name: 4871c77f8fce36ff230e1f026f4e4e49492515e9
* Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. ↵drh2004-09-19
| | | | | (CVS 1972) FossilOrigin-Name: eb9b501ad8b0fa0fd63a67ece05fe142d6a19114