aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* 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
* Registerify the comparison opcodes. (CVS 4697)drh2008-01-08
| | | FossilOrigin-Name: 8862ce9ceefba4f5d1ffbd51d824c05f42a58c22
* Progress toward registerification of the constraint checking logic fordrh2008-01-08
| | | | | INSERT and UPDATE. (CVS 4693) FossilOrigin-Name: b9bf509e39f5ac38c2149d2a648f68e5df5ae9e3
* Registerify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNulldrh2008-01-07
| | | | | operators. (CVS 4692) FossilOrigin-Name: aa48867cfa04da265b906e5b583bc7ac6b6a1157
* Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690)drh2008-01-06
| | | FossilOrigin-Name: 8201f71729c3afbb41764cea3cda65b03150cb0c
* Registerify binary operators. Add register tracing to debugging output. ↵drh2008-01-05
| | | | | (CVS 4686) FossilOrigin-Name: 66396d2f0289e36b5fc0af5078c08d1b17f342ae
* Expression code generator takes advantage of recent opcode changes. (CVS 4685)drh2008-01-05
| | | FossilOrigin-Name: 6c78d2a49a3e6ee8bc31f16488a430cba9eda59d
* Register-ify the OP_AddImm and all casting opcodes. Omit thedrh2008-01-05
| | | | | OP_MemIncr opcode. (CVS 4683) FossilOrigin-Name: 3e8a07dd3cc9921ad39e379576abb0b485a42202
* Get rid of OP_Dup, OP_MemStore, OP_MemLoad, and OP_MemMove. Replacedrh2008-01-05
| | | | | | | with OP_Copy, OP_SCopy, and OP_Move. Add the infrastructure for operation properties in1, in2, in3, out2, and out3 but do not yet use any of these. (CVS 4682) FossilOrigin-Name: cc149eb9ca3c672cc6fea3528353234ac2ed5745
* Implement the out2-prerelease opcode design pattern. (CVS 4681)drh2008-01-04
| | | FossilOrigin-Name: fe057a88d0038ac349ea41883b979ceba6ae410a
* Change the sqlite3ExprCode() function so that callers can request thatdrh2008-01-03
| | | | | the result of the expression be left on the stack or in a register. (CVS 4673) FossilOrigin-Name: 61bfb77c4267b99ac8a8ef49355bcbc395a1a37b
* Update OP_Rowid, OP_Column and related opcodes to use registers. (CVS 4671)drh2008-01-03
| | | FossilOrigin-Name: 4f3967073d2df9eae5a61b9770d5de2e1af47b4c
* Registers (aka memory cells) in the VM are now numbered starting with 1drh2008-01-03
| | | | | instead of 0. A register number of 0 means "no such register". (CVS 4669) FossilOrigin-Name: 0b849805c3a0f562d50623f406279b400d335639
* Change OP_OpenRead and OP_OpenWrite so that the database number is read from ↵danielk19772008-01-03
| | | | | the P3 operand, not the stack. (CVS 4663) FossilOrigin-Name: 35da261daf602b1e938f05bbad1ff99213d9f4b9
* Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter isdrh2008-01-03
| | | | | | added (though not currently used.) Add routines sqlite3VdbeAddOpX() where X is one of 0, 1, 2, 3, or 4. (CVS 4660) FossilOrigin-Name: 027875e4d4c4bd7686dc880c6917a968049b2fec
* Combine the eDest and iParm arguments to sqlite3Select() into a single type ↵danielk19772008-01-02
| | | | | - "SelectDest". (CVS 4657) FossilOrigin-Name: 86dcdfe6d7d629618ccb3c3ff0ca09f2da2d06c7
* Add opcodes OP_ResultRow and OP_RegMakeRec which are register-baseddrh2008-01-02
| | | | | equivalents to OP_Callback and OP_MakeRecord. Use the new opcodes. (CVS 4656) FossilOrigin-Name: 4c7f35da7751c61a9b61b1d95adddcc37fff3266
* Begin setting a foundation on which to convert the VM from a stack-baseddrh2008-01-02
| | | | | | | to a register-based machine. Everything is still mostly stack based with this check-in. This change merely begins adding infrastructure to support a register-based architecture. (CVS 4652) FossilOrigin-Name: 051ec01f2799e095516015f2ef0180e50fac387c
* Optimize trigger compilation to avoid populating the OLD.* and NEW.* ↵danielk19772008-01-01
| | | | | pseudo-tables with data that will never be used. Some testing to come. (CVS 4651) FossilOrigin-Name: e08a33ed7255c22ce2805363f44a1d7770acb2dd
* Fix an out-of-memory NULL pointer defer in the code generator. Ticket ↵drh2007-12-14
| | | | | #2843. (CVS 4630) FossilOrigin-Name: b821b6ed176b4259e1d4b56c8eb548933b6f530a
* Change all instances of "it's" in comments to either "its" or "it is",drh2007-12-13
| | | | | | as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
* Fix compilation/testing with OMIT_SUBQUERY defined. Ticket #2828. (CVS 4603)danielk19772007-12-10
| | | FossilOrigin-Name: 0b34a18651764e650faba983be8593992ab2f4a9
* Optimisations for expressions of the form "<value> IN (SELECT <column> FROM ↵danielk19772007-11-29
| | | | | <table>)". (CVS 4579) FossilOrigin-Name: 56d0e32677744df8570b519fae1c04da4ea4984d
* Allow collation sequence names to be quoted. Ticket #2744. (CVS 4537)danielk19772007-11-12
| | | FossilOrigin-Name: 06749ac7afeea4adbdeb9315f3819d5224534c66
* Add comments, assertions, and test cases to demonstrate that thedrh2007-10-23
| | | | | problem described in ticket #2742 is not a real problem. (CVS 4510) FossilOrigin-Name: c085d6dfc0f5849113986cb2a25e64d0c95b3dfb
* Floating point and 64-bit integer constants store in the virtualdrh2007-10-23
| | | | | | machine opcodes in binary, not as text. Performance improvement. Ticket #2733. (CVS 4507) FossilOrigin-Name: 7e30fd6a09899842c922b044714dc66796e545d4
* Remove unneeded pSchema field from the Expr structure. (CVS 4434)drh2007-09-18
| | | FossilOrigin-Name: b2d605a2714245febb316a24edc7a076e21a3849
* Fix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367)danielk19772007-09-01
| | | FossilOrigin-Name: 02b751fb9dbc683b1b77a2ed3cdeb4190f7339e0