aboutsummaryrefslogtreecommitdiff
path: root/src/resolve.c
Commit message (Collapse)AuthorAge
...
* Make sure the column name resolver does not try to duplicate Expr.u.zTokendrh2009-05-28
| | | | | when the Expr.u.iValue union member is the element being used. (CVS 6684) FossilOrigin-Name: 376ecf0d87e4a2329f5861401f83ed9ceb35d528
* 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
* Make sure the left-shift operator never overflows. (CVS 6605)drh2009-05-05
| | | FossilOrigin-Name: 300da30178c46ab9f2ceb0c3e3ee3eac73d5d8e1
* 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
* Added some asserts and a check for a null pointer dereference. (CVS 6337)shane2009-03-05
| | | FossilOrigin-Name: 6b0cabd017ed25530b2d918d2c069fcbdd60a3f6
* Fix a bug in the GROUP BY alias name resolution. The bug was bydrh2009-03-02
| | | | | | check-in (6305). Discovered by regression test on 64-bit linux. Test cases added so that the problems is detected on 32-bit systems. (CVS 6332) FossilOrigin-Name: fa0008502ec4f891bfed4a11f01650d274f95c44
* 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
* 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
* Never use strlen(). Use our own internal sqlite3Strlen30() which isdrh2008-12-10
| | | | | | guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) FossilOrigin-Name: c872d554930ecf221ac2be5f886d5d67bb35288c
* More explicit type casting to silence VC++. (CVS 6006)drh2008-12-10
| | | FossilOrigin-Name: 14e6d19c3157ccdce170e769d678c7f472dd3db2
* Finish incomplete edit of resolve.c from check-in (5998). (CVS 6000)drh2008-12-09
| | | FossilOrigin-Name: 0d7e150e8c6cb801e68273c9d0793ce31d1f31fd
* A subquery in the result set of a SELECT should be able to look into outerdrh2008-12-09
| | | | | | queries to find variable references. But a subquery in the FROM clause should not be able to do this. Ticket #3530. (CVS 5998) FossilOrigin-Name: be03fa0543044dc46952695e963d9b82afed892b
* Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)danielk19772008-11-17
| | | FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a
* When a name in double quotes falls back to being a string literal,drh2008-10-19
| | | | | make sure it has no affinity. Ticket #3442. (CVS 5832) FossilOrigin-Name: 81cfee5c14f241f5ae7f607d73b0b5cb821cda24
* Fix a memory leak on ORDER BY of a compound select caused by the resolverdrh2008-10-11
| | | | | on a flattened query. Also fix a OOM segfault in WHERE clause processing. (CVS 5801) FossilOrigin-Name: d2c252d6bbde4ae14da6c9e6c2683d763d11c59f
* Updated LIMIT support for DELETE/UPDATE. Omit option changed to ↵shane2008-10-10
| | | | | SQLITE_ENABLE_UPDATE_DELETE_LIMIT. (CVS 5788) FossilOrigin-Name: c10e8a3c7ab7f21c95f24d0aba590f5b18a4b028
* Fix a typo in check-in (5769) (CVS 5770)drh2008-10-06
| | | FossilOrigin-Name: 24891902fa625445aa47ae930f0cb340cc73d25d
* Expression nodes of type TK_ROW mean the rowid of the first table in thedrh2008-10-06
| | | | | source list. (CVS 5769) FossilOrigin-Name: 2f7db6c98f17e0b7110258093c283091a91d4e4f
* Avoid reevaluating WHERE and ORDER BY expressions that alias terms in thedrh2008-08-29
| | | | | | result set. Ticket #3343. Note that aliased GROUP BY expressions are still evaluated twice. (CVS 5637) FossilOrigin-Name: ab0292caa5887cc1bdc0e8c9d3f3502b83975440
* Fix bug in the premutation testing that was causing many permutations fromdrh2008-08-25
| | | | | begin skipped. There are now 16 errors reported by the permutation test. (CVS 5610) FossilOrigin-Name: 4ad096bda1fc5c7b66f71ff5b32a4085c9a40574
* Additional coverage testing in the new name resolver module. (CVS 5608)drh2008-08-25
| | | FossilOrigin-Name: 0d61960afd35721d6d07acd75288c20d2cd6fda1
* Remove dead code. (CVS 5601)drh2008-08-22
| | | FossilOrigin-Name: 6de9c084fc533fbb22af6a4cd3e4e9a461b13876
* Refactor the name resolution procedures in the code generator. (CVS 5569)drh2008-08-20
FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6