aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Combine the OP_Statement and OP_Transaction opcodes.dan2009-09-08
| | | FossilOrigin-Name: aec9dbd8d21c55c3945287a3dfa55d3ed168f977
* Do not reuse function parameters in subsequent expressions since the drh2009-09-03
| | | | | | function call might have triggered a text encoding change. Fix for ticket [2ea2425d34be]. FossilOrigin-Name: f22e388727f0ba0f187cdee51ff8ba17a5d50b8a
* More fixes and comment updates.dan2009-09-01
| | | FossilOrigin-Name: 38a9327bad1a01e3d7a47fad44ece2f6c7e88643
* More fixes for test cases.dan2009-08-31
| | | FossilOrigin-Name: 85d9f23be1e8673dbda42e43b9b23332ada9225f
* Fix some authorization callback problems.dan2009-08-31
| | | FossilOrigin-Name: 8a746fbfd51f70f56e25ade59df49d2dc03c131c
* Fixes for new triggers scheme.dan2009-08-30
| | | FossilOrigin-Name: 9eb91efda5241609ff18ff15ef5eaa0e86788eab
* Changes to support recursive triggers.dan2009-08-28
| | | FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
* Change the expression code generator to account for the fact that the newdrh2009-08-21
| | | | | | sqlite3AtoF() never returns NaN. Also, clarification of a comment in where.c. FossilOrigin-Name: 75f596a04a74eb3a538c7be5b41756c970a21a1b
* Change the way an Expr that has been converted to TK_REGISTER stores its ↵dan2009-08-19
| | | | | original opcode. The previous method, overloading Expr.iColumn, did not work in all cases. FossilOrigin-Name: 71ea9d0e148fbd3d633651c61c81044e37cf88b9
* Merge with 709e16145e.dan2009-08-19
|\ | | | | FossilOrigin-Name: 6c8a0e2b37d9f4399ef90a44cbc492526201d0d5
| * Unknown functions in the DEFAULT clause of a table cause an error whendrh2009-08-18
| | | | | | | | | | the DEFAULT value is needed. Ticket [2d401a94287b5]. FossilOrigin-Name: 093917d7fda442012dfd1a1b2f20f85d2eefa093
* | First version of sqlite_stat2 (schema forces exactly 10 samples).dan2009-08-17
|/ | | FossilOrigin-Name: dd96bda2a85c1d94fb4a0bf5f27e2977f7f7e42e
* When extracting values from a record to use in an UPDATEd version of that ↵danielk19772009-07-27
| | | | | record, apply OP_RealAffinity if required. Fix for #3992. (CVS 6945) FossilOrigin-Name: 3616766a6f5c8179cc55444c29ecf29cc69f88ce
* Remove an unused variable from sqlite3ExprListDup(). Ticket #3973. (CVS 6898)drh2009-07-16
| | | FossilOrigin-Name: 17c05aefd6c9e938a4cc5d3de348d8c8fdc9394d
* Fix the comment on the sqlite3PExpr() subroutine. Ticket #3924. (CVS 6789)drh2009-06-19
| | | FossilOrigin-Name: 4bb96db6b4d2cfa71430a2646c1082a494e3519f
* Fix compiler warnings with MSVC build. (CVS 6699)shane2009-06-01
| | | FossilOrigin-Name: 0791588520603d106aa0b8ce24d68b740b7b80c8
* Fix typo reported by ticket #3888. Other minor edits to facilitatedrh2009-05-30
| | | | | coverage testing. (CVS 6695) FossilOrigin-Name: 164adf261d2536f16c83e44f6482dfb3d04a45d5
* Simplifications to the expr.c source module resulting from structuraldrh2009-05-30
| | | | | testing. (CVS 6694) FossilOrigin-Name: f760bb7a0372d11ac7e3287b8a56fc4261e6371c
* Fix for ticket #3887. Other unrelated bits of code cleanup in the expr.cdrh2009-05-30
| | | | | source module. (CVS 6693) FossilOrigin-Name: 00e7250f11e190cd915870438d172f574d110e6d
* Enhance the sqlite3VdbeGetOp() routine so that it always returns a pointerdrh2009-05-29
| | | | | | to VdbeOp, even following an OOM fault. This simplifies error handling in callers. Cleanup to the column cache logic and the expr.c source module. (CVS 6691) FossilOrigin-Name: ede06dacdf7acab23cd9666a0a0d092a637bcb78
* Refinements in expression handling logic that have resulted from recentdrh2009-05-29
| | | | | structural testing. (CVS 6690) FossilOrigin-Name: bd89f2c29b00e6b473f30c2e929d2f626721ad92
* Remove references to deleted function sqlite3ExprRegister(). Changes todrh2009-05-28
| | | | | the expr.c source module to promote better testing. (CVS 6686) FossilOrigin-Name: 6ae4ad6ebee4db88c411df97bb1de574708dd53c
* Additional refinements to Expr handling. Restore compression of triggerdrh2009-05-28
| | | | | | expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue. Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682) FossilOrigin-Name: 4ac2bdfbb4230b6ceaae87e738fa61036bbe03cb
* Simplifications to the Expr object: Remove Expr.span completely and convertdrh2009-05-27
| | | | | | Expr.token into a char* Expr.zToken. Also simplify the Token object by removing the Token.dyn and Token.quoted fields. (CVS 6681) FossilOrigin-Name: 7cb1c3ba0759539cb035978fdaff6316775986f3
* When pinning a temp register after it is reused by the column cache, makedrh2009-05-25
| | | | | | sure all instances of that register in the cache are pinned so that the register is never reused for a different purpose. Ticket #3879. (CVS 6676) FossilOrigin-Name: 5f358e63712e8de93bd6fecc5131badeef0292be
* Simplifications to expr.c in support of full coverage testing. (CVS 6665)drh2009-05-21
| | | FossilOrigin-Name: 309adb5e22af2735b69460c164d870aea99c6da3
* Rework the logic that generates a schema for tables created using drh2009-05-11
| | | | | | | | | "CREATE TABLE ... AS SELECT ...". Instead of trying to copy the raw datatype string from the right-hand side, just make the type one of TEXT, INT, REAL, NUM, or nothing. This is much simpler than trying to parse and quote datatype strings. Other minor implifications to build.c are bundled with this change. (CVS 6626) FossilOrigin-Name: 33cf83591e6e13875ef6ada5b8ac8ab07619d8bc
* Changes to the trigger.c module that facilitate full coverage testing. (CVS ↵drh2009-05-09
| | | | | 6621) FossilOrigin-Name: 567ccc68cc8c73b952a91c71a0e00b08bb25c689
* Changes to silence compiler warnings under MSVC. (CVS 6613)shane2009-05-06
| | | FossilOrigin-Name: df599237e1ca8b4f361477a712cf761aa1fac3df
* Record within the Token structure itself whether or not the token hasdrh2009-05-01
| | | | | | been dequoted. This steals one bit from the length of a token and thus limits the size of tokens to 1GiB. (CVS 6589) FossilOrigin-Name: 12bcb03d9b9e1a31c1a3c67cbb4263cc0af2f3d0
* Another fix to the same assert as in (6555). It can also fail after a malloc ↵danielk19772009-04-28
| | | | | error. (CVS 6556) FossilOrigin-Name: e096f90a57f0e0d1dbeaafc72762035ca55ab803
* Fix an assert that could fail after a parse error in expr.c. (CVS 6555)danielk19772009-04-28
| | | FossilOrigin-Name: a37d1174eb80e9a09522b236afdb47283f312d06
* Rework the column-cache mechanism to be more robust (and more correct).drh2009-04-23
| | | | | The column-alias cache is currently disabled, (CVS 6538) FossilOrigin-Name: dd4d67a67454a3ff13c286a2a8360c5f0432c91d
* Eliminate the OP_VRowid opcode. The regular OP_Rowid now work for bothdrh2009-04-22
| | | | | regular and virtual tables. (CVS 6537) FossilOrigin-Name: ecbef45011f1f98d940b2d3492941213d9f04172
* Minor refactoring of the expression-compaction logic for clarity ofdrh2009-04-08
| | | | | | presentation. New comments added. The EXPRDUP_DISTINCTSPAN flag is removed as obsolete. (CVS 6470) FossilOrigin-Name: 44ded2ea67374f187a111df69c3f51f866735400
* Ensure the required VerifyCookie/Transaction/TableLock opcodes are added for "xdanielk19772009-04-02
| | | | | IN (SELECT c FROM t)" expressions. Ticket #3771. (CVS 6439) FossilOrigin-Name: 058a2f20930d7707c03c3c27db8e761d5657ee46
* Remove an unused parameter from sqlite3DequoteExpr. Fix another unrelateddrh2009-03-25
| | | | | and harmless compiler warning. (CVS 6386) FossilOrigin-Name: 8589b0fcc51a32188386e442655fd91f421ca7f8
* New assert()s added to verify that the Expr.token value is used correctly. ↵drh2009-03-24
| | | | | Ticket #3743. (CVS 6378) FossilOrigin-Name: cf3d84ab73b7f519921a984f88bdad81996a3a82
* Changes to insure that lookaside memory allocations are never used to hold drh2009-03-24
| | | | | | schema content. Ticket #3743. (CVS 6377) FossilOrigin-Name: ea74d8dc62f5784089aa8ef098e97c505a79b176
* Use the ROUND8() macro to round an integer up to the nearest multiple of 8 ↵danielk19772009-03-23
| | | | | and ROUNDDOWN8() macro to round down to the nearest multiple of 8. This is a cosmetic change. (CVS 6372) FossilOrigin-Name: db1d4d2f5083adf5438c7f387b115180800e7bd9
* Add comments and testcase() macros to the fix for shared-cache schema defaultdrh2009-03-18
| | | | | value problem of check-in (6353). (CVS 6356) FossilOrigin-Name: 05d8607d44cd3ff262c07cc1192f4471f3192b09
* Fix a problem that could cause a crash when a shared-cache schema contains ↵danielk19772009-03-17
| | | | | column default values. (CVS 6353) FossilOrigin-Name: afadddc34eee3d6a39102b790ce1a869b33d4286
* Comment out a recently added assert statement that is failing. (CVS 6340)danielk19772009-03-05
| | | FossilOrigin-Name: d0b2015f1caf2fc60ec82bd8e760f7b61befa3b4
* Removed compiler warnings from MSVC builds. Ticket #3701. (CVS 6335)shane2009-03-05
| | | FossilOrigin-Name: 5477833ec7f707ea9937d3fd6a6d8ab49f2016f1
* Reverse commit (6315) for now. (CVS 6317)danielk19772009-02-24
| | | FossilOrigin-Name: 0e7c369c23a8767b4d3e5cdd47c14716992fb71a
* Scan an index instead of a table for "SELECT count(*) FROM <tbl>" queries. ↵danielk19772009-02-23
| | | | | Because an index is usually smaller than a table on disk, this saves some IO. (CVS 6315) FossilOrigin-Name: 294ba6f743c9132dce0e73da480bd3c2071e7239
* Instead of using SetNumColumns, specify the number of columns in a table or ↵danielk19772009-02-20
| | | | | index using the P4 argument. (CVS 6310) FossilOrigin-Name: e43ed649630cbc49a6f2a25a26a4a6b5fce84c48
* Add a count parameter to the OP_Variable opcode and use it to simplifydrh2009-02-20
| | | | | | prepared statements that copy consecutive unnamed parameters into consecutive registers (a common case). (CVS 6309) FossilOrigin-Name: 48b77b04935d8942eb22f0c061f3bc5e99bbd7db
* Changes to reduce the heap space consumed by triggers, views and tables in ↵danielk19772009-02-19
| | | | | the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305) FossilOrigin-Name: d9f6ffbc5ea090ba0daac571fc9a6c68b9c864e4
* Changes to completely remove all floating point ops if ↵shane2009-02-04
| | | | | SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) FossilOrigin-Name: 5cef400023205b55152b91441acc78f9cd8d58a9