aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Improved clarity of presentation in the tokenizer. (CVS 5545)drh2008-08-07
| | | FossilOrigin-Name: 732657c6a639bdf71a3341f6747d19298d442ddb
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Make sure expression spans are set correctly for "x.*" expressions in drh2008-07-18
| | | | | the result set of a SELECT. Ticket #3229. (CVS 5438) FossilOrigin-Name: 17a9984e7668be388c4042c070718a02b284a336
* Additional test coverage in select.c and expr.c. (CVS 5381)drh2008-07-09
| | | FossilOrigin-Name: c6cf08477cc4d622a05ad6706cb9418cf7eea432
* Remove obsolete code from select.c, including the "affinity" parameterdrh2008-07-08
| | | | | to the sqlite3Select() module. (CVS 5380) FossilOrigin-Name: cbd3c1585b7a8f8042aa1448fe1be87de056c41a
* Remove redundant code from sqlite3GetTempReg(). (CVS 5342)danielk19772008-07-04
| | | FossilOrigin-Name: 212d05d38c8126f99c028c5ab021b219487fa01e
* Remove references to temporary registers from the compiler column-cache when ↵danielk19772008-07-04
| | | | | such registers are released. Fix for #3201. (CVS 5341) FossilOrigin-Name: f099d6773a837dbe4ba85a8fda818e2d9466e743
* Remove unused variable. Fix a compiler warning. (CVS 5319)drh2008-06-27
| | | FossilOrigin-Name: 0b01ec5cf7725a02d4c12167df125cef578f6219
* Tweaks to the IN expression code generator. Fix an an unrelated bugdrh2008-06-27
| | | | | in the compound SELECT code generator. (CVS 5318) FossilOrigin-Name: a4005782690f022e982df4873779a029b28b9306
* Fix a bug introduced by check-in (5316). Add some VDBE comments todrh2008-06-26
| | | | | the IN expression code generator. (CVS 5317) FossilOrigin-Name: 1043a605e2dcad4b5222674efe392ee9915dc57d
* Avoid generating unnecessary SCopy instructions with the RHS of an INdrh2008-06-26
| | | | | operator is a list of values. (CVS 5316) FossilOrigin-Name: ec80474b1c157a29fb6978dd5575c396c57973b3
* Fix handling of "x IN (...)" and "x NOT IN (...)" expressions when the set ↵danielk19772008-06-26
| | | | | contains an SQL NULL value. (CVS 5314) FossilOrigin-Name: d45a97be71fa61ab4a692bd807ab762130f7f5b9
* Fix a problem in sqlite3ExprIsInteger() causing failures on select1-4.9.2.drh2008-06-24
| | | | | | Other bug fixes in compound-merge. The compound-merge is still disabled in this check-in using "#if 0" due to additional bugs. (CVS 5295) FossilOrigin-Name: 95037e6dbf4ed0ffd38790f3270dcaa4c1ae64ed
* The compound-select merge optimization is mostly working with this check-in.drh2008-06-24
| | | | | | | But there are still a few problems and so the optimization is disabled by and "#if 0". This check-in is to synchronize with the other changes happening in parallel. (CVS 5291) FossilOrigin-Name: e2ba324cbcac0ba35bbde50048677e085abb092b
* Fix a bug in the KEYINFO handling within select.c. Change the OP_Movedrh2008-06-22
| | | | | | | opcode to take a count and to move multiple registers. Initial code for the compound-select merge optimization is added but is incomplete and is commented out. (CVS 5272) FossilOrigin-Name: 663a590e3086145a57af7569d8f798b6b6a8b76c
* Reorganize some of the code that detects expression trees with a depth ↵danielk19772008-06-05
| | | | | greater than EXPR_MAX_DEPTH so that they are detected earlier. This further reduces the opportunities for stack overflow. (CVS 5189) FossilOrigin-Name: 16d4c53a8e4d3cfc1abac3b8bb44d8bfd9471e32
* Allow the SQLITE_MAX_EXPR_DEPTH compile-time parameter to be set to 0 indrh2008-05-28
| | | | | order to disable expression depth checking. Ticket #3143. (CVS 5166) FossilOrigin-Name: 5ceef40e397fc535173996404345b93f695e8cac
* Fix more compiler warnings. (CVS 5074)drh2008-05-01
| | | FossilOrigin-Name: 59568844e774dbe89fd20bbc8f49a3665cc54717
* Always convert IEEE NaN into NULL. Ticket #3060. Add test cases to verifydrh2008-04-29
| | | | | that this is happening. (CVS 5066) FossilOrigin-Name: 9b07e59e510e2de39c2081653662fbc654ca6fbb
* Candidate fix for ticket #3082. Test cases needed. (CVS 5047)drh2008-04-25
| | | FossilOrigin-Name: f6313311ddfb1ee2d6660b9be99afe721a8a9aff
* Fix a crash that can follow a malloc() failure in malloc7.test. (CVS 5042)danielk19772008-04-24
| | | FossilOrigin-Name: 85eedad186327a1f0b0983413b833efd41640d0e
* Fix a code generator bug caused by the new CSE optimization. Add test casesdrh2008-04-15
| | | | | to prevent a recurrence. (CVS 5011) FossilOrigin-Name: d04246a46399e839e70b1bd57e209f80143f0d5b
* Additional reductions in the use of memset(). (CVS 4988)drh2008-04-11
| | | FossilOrigin-Name: 38746c54385e3cb456cda660ea50769b5424db30
* Avoid factoring single-instruction constants that end up getting replaceddrh2008-04-01
| | | | | by an SCopy instruction. (CVS 4952) FossilOrigin-Name: e84ff57b6217afa84d60547dcc3a270b5e116818
* Add the testcase() macro. Additional CSE test coverage. (CVS 4951)drh2008-04-01
| | | FossilOrigin-Name: 492490f9c86e52c7a706d9e1bf0ba216d5bb8aba
* Fix a problem with CASTs and the new CSE mechanism. (CVS 4950)drh2008-04-01
| | | FossilOrigin-Name: e25939fb25ec8bde8500a672ca5be3cbb514ac3a
* Fix the CSE mechanism so that it takes into account column affinitydrh2008-04-01
| | | | | changes that might be imposed by comparison operators. (CVS 4949) FossilOrigin-Name: 91cc646e2b0c1d62a1989405cc9384a2c22d98d0
* More test cases and bug fixes with CSE. (CVS 4948)drh2008-04-01
| | | FossilOrigin-Name: 7e8156129d6d240fe046bbc4ea269ebe1657e2a1
* Initial test cases and bug fixes in the CSE logic. (CVS 4946)drh2008-04-01
| | | FossilOrigin-Name: e5aff09ac693946dc7ebb2f245b6434995b12155
* Avoid duplicate OP_Column opcodes by remembering prior results.drh2008-03-31
| | | | | This is similar to CSE, but only applies to columns. (CVS 4943) FossilOrigin-Name: c29ee0fed23dcdbd9dde6b1e42b603100ea2389c
* Factor constant subexpressions out of loops. (CVS 4942)drh2008-03-31
| | | FossilOrigin-Name: 2126db39854c751aea6c95c67894ed9b9dfc0763
* Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS ↵danielk19772008-03-25
| | | | | 4912) FossilOrigin-Name: 047153648155654b0cd70b811935209d2e21776c
* Reinstate test cases for the limit tests. The sqlite3_limit() API is nowdrh2008-03-20
| | | | | tested and working. (CVS 4899) FossilOrigin-Name: 4c4be4c3c8aae97f1d85442b25afba9f0b02c8b3
* Initial implementation of per-connection limits and the sqlite3_limit() API.drh2008-03-20
| | | | | | The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) FossilOrigin-Name: 60c77882b2de9f6a45f8bd87c9c6a0cc613f8373
* Do not segfault after a parse error in a sub-select in a statement of the ↵danielk19772008-03-12
| | | | | form "DELETE WHERE ... IN(sub-select)". Ticket #2991. (CVS 4854) FossilOrigin-Name: 3f9f81e908aad6cdc0a16ec52f4ec46d89fd78bc
* Add explicit !=0 tests in order to suppress warning messages indrh2008-03-10
| | | | | Borland-C. Ticket #2985 (CVS 4850) FossilOrigin-Name: d4ab14b974f2249d9d9e5a78ae47f3764a88b657
* Testing coverage enhancements to sqlite3_get_table() and to the SELECTdrh2008-01-23
| | | | | code generator. (CVS 4746) FossilOrigin-Name: 45c59802f6d35c7745b96c578ab43d5a336fe822
* Additional test coverage improvements. Test coverage now stands at 98.73%. ↵drh2008-01-19
| | | | | (CVS 4731) FossilOrigin-Name: 010f7b780cb9c8f21af9ce810494fbd2be98a13f
* Remove the OP_HexBlob instruction and code OP_Blob directly. Reducedrh2008-01-18
| | | | | | the amount of memory allocation required to encode blob literals. Remove the "out2" instruction type. Other minor optimizations. (CVS 4726) FossilOrigin-Name: 0e50c0200a3c1c04e63cbb55a7255cdbbd225347
* Fix a bug in the test scripts that was preventing many scripts fromdrh2008-01-18
| | | | | running with all.test. Lots of hidden failures now come to light. (CVS 4723) FossilOrigin-Name: 251c78a982a33194a052897c37a2a79ae9654452
* Reuse registers better in the inner loop of a SELECT statement. (CVS 4719)drh2008-01-17
| | | FossilOrigin-Name: 5ba4e5adf638c6812a2813961ea30a11a670409c
* Registerification of the VDBE is complete. The operand stack has beendrh2008-01-17
| | | | | removed from the code. All instructions operate out of registers only. (CVS 4718) FossilOrigin-Name: 706b41b70bd1e2030e6fa44358c38a26c5cf0985
* Registerification of the WHERE clause logic. (CVS 4716)drh2008-01-17
| | | FossilOrigin-Name: b3a141b2b0c09bf3c7704deeade290d71b7c9b77
* Fix some issues with out-of-memory recovery. (CVS 4710)drh2008-01-13
| | | FossilOrigin-Name: 23181f86896e7c9e993e00032e735e67ee6b2e71
* Continuing work toward converting the VM to a register machine. (CVS 4708)drh2008-01-12
| | | FossilOrigin-Name: 426f31ecdd05d1179a2e49c2ca1666011cede9c6
* Continuing work toward converting the VM into a register machine. (CVS 4707)drh2008-01-12
| | | FossilOrigin-Name: a6dddebcc5ccbbf3009c9d06163a8b59036331de
* More work toward converting the VM into a register-based machine. (CVS 4704)drh2008-01-10
| | | FossilOrigin-Name: 8cbd46517f407b3b1ce187b623db10f00aa415ea
* Continuing work toward registerizing the code generator. (CVS 4703)drh2008-01-10
| | | FossilOrigin-Name: 173698c963473ab1b9db88b23a2de82e4097b96d
* All essential opcodes can now operate out of registers and completelydrh2008-01-09
| | | | | | | avoid the stack. Many still optionally use the stack to support legacy code generation, but the stack is not required. The next step is to update all code generation to avoid using the stack. (CVS 4700) FossilOrigin-Name: e3cf1c1c114bcda8fe577beb5ee55b4a651b96db
* Continued work toward converting to a register-based VM. (CVS 4698)drh2008-01-09
| | | FossilOrigin-Name: 92deff07bba2089bbe011f44defb3a0ac1362d56