aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Allow sqllimits1.test to be run from a regular build of testfixture. Add the ↵danielk19772007-08-31
| | | | | 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354) FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1
* Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)danielk19772007-08-29
| | | FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
* Modifications to the malloc failure tests to test transient and persistent ↵danielk19772007-08-29
| | | | | failures. (CVS 4321) FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
* The malloc.test script now passes all tests with no errors. (CVS 4271)drh2007-08-22
| | | FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
* Combine sqlite3DbOfVdbe() and sqlite3VdbeDb() into a single function. (CVS 4236)drh2007-08-16
| | | FossilOrigin-Name: ba80ee59a72afe36817997de705ef81d876b6f35
* Fix some more small problems introduced by recent refactoring. (CVS 4235)danielk19772007-08-16
| | | FossilOrigin-Name: 5e2795d0eb8ea2a076b3014cfa9096aa7e8f69d7
* More work on refactoring of malloc() interfaces. There are still many ↵danielk19772007-08-16
| | | | | errors. (CVS 4233) FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* Remove all tabs from source code files. Ticket #2556. (CVS 4198)drh2007-08-07
| | | FossilOrigin-Name: 7550dd1d5980a399fbb06b4ed69216700f879a0b
* Revise the amalgamation so that all symbols have file scope except thosedrh2007-08-07
| | | | | that begin with "sqlite3_". Ticket #2554. (CVS 4197) FossilOrigin-Name: 73db545289a1a99bd48b22895d2a3ee86540f107
* Detect nested aggregate functions even if the inner aggregate function isdrh2007-07-23
| | | | | aliased using an AS clause. Ticket #2526. (CVS 4179) FossilOrigin-Name: de000280c6d0b13440d2450eb6ba42073ad46c56
* Fix for #2445. A bug in the lookupName() logic that could cause a crash when ↵danielk19772007-06-25
| | | | | a WHERE clause used an alias to refer to an expression in the result-set of the SELECT, and that expression was itself a reference to a table column. (CVS 4122) FossilOrigin-Name: 044ca1c72a8f4632dc2e6a94690d164d3560ee38
* A column name preceded by a unary "+" operator is considered to bedrh2007-06-20
| | | | | | a column name when computing the collating sequence to be used by a comparison operator or ORDER BY clause. (CVS 4104) FossilOrigin-Name: 99a20f6a427b5e0e0a793f59ebca9d17bc633437
* Fix an obscure memory leak in the SQL compiler.. (CVS 4070)danielk19772007-06-15
| | | FossilOrigin-Name: d4ab94288b1e3d3d069ccc75d0fc2fbe6c1383c5
* Fix the query optimizer so that it correctly handles constant expressionsdrh2007-06-08
| | | | | in the ON clause of a LEFT JOIN. Ticket #2403. (CVS 4049) FossilOrigin-Name: 46fdd195483787eef209a9b8ad108eba147be6fa
* Add some extra tests for malloc failure during expression parsing and ↵danielk19772007-05-30
| | | | | execution using fuzzily generated SQL. (CVS 4043) FossilOrigin-Name: 7522d2fb3204d107b8b4816d7f39c88741f20230
* Consider explicit collate clauses when matching WHERE constraints to ↵danielk19772007-05-29
| | | | | indices. Fix for #2391. (CVS 4040) FossilOrigin-Name: f9a95e92dfaaa61ec0a44b9b7017b07929c94d26
* A fix for queries that used correlated, compound sub-queries in the HAVING ↵danielk19772007-05-15
| | | | | clause. Also update fuzz.test some more. (CVS 4001) FossilOrigin-Name: da0c1ab4deedd2b952a43b3af6962a9403f8c9ee
* Remove terms with operator TK_AS from the expression tree. Ticket #2356. ↵drh2007-05-14
| | | | | (CVS 3991) FossilOrigin-Name: 5627ff74be9242418434a06fe5c104d1f9128cab
* Bugfixes for assert() failures found by fuzz.test. (CVS 3986)danielk19772007-05-12
| | | FossilOrigin-Name: 2e80736d57fde55b112864d8b198a9a2fe0eaa38
* Additional parsing bugs fixed. (CVS 3981)drh2007-05-11
| | | FossilOrigin-Name: d12a8924c6083cdff14990b4fd036ca386c2e34a
* Make sure that the REGISTER token generates a valid Expr. REGISTER willdrh2007-05-11
| | | | | | | cause the tokenizer to abort, but the parser might do several reduce actions prior to that abort and those reduce actions sometimes need a valid Expr. (CVS 3980) FossilOrigin-Name: d146f01a02579339c5dc86bbe59f246bd6c05c63
* Add code to enforce the MAX_EXPR_DEPTH limit. (CVS 3968)danielk19772007-05-10
| | | FossilOrigin-Name: 2c9c94a24d52a1c9f5d1b32cbdff794a2dd74126
* Add further test cases for compile time limits. (CVS 3963)danielk19772007-05-09
| | | FossilOrigin-Name: 9bf2c594a48a4661700f0833562ee2b3ff7b761c
* Fix a null-pointer dereference that follows a malloc() failure introduced in ↵danielk19772007-05-08
| | | | | (3954). (CVS 3956) FossilOrigin-Name: 251ba1981e32fb80818965ffe1ef455069e88abd
* Add a few more tests to sqllimit1.test. (CVS 3954)danielk19772007-05-08
| | | FossilOrigin-Name: eeee6b71e5643511320cbe15bafa170cfd02877f
* Fix a && where & was intended. This is a real problem, but it would bedrh2007-04-18
| | | | | | very difficult to devise a test case where it might lead to an unexpected result. Ticket #2306. (CVS 3856) FossilOrigin-Name: 7f9f0444ed1a85ed682b604fded535bff5be1535
* Match ORDER BY terms to columns using names in compound queries. Make suredrh2007-04-13
| | | | | | this works for subqueries, especially in the right-hand side of an IN operator. Ticket #2296. (CVS 3842) FossilOrigin-Name: cfc6f933dc60ca88ae848f7f0c402e820437c2ff
* More strict aliasing fixes. The single source file library now runsdrh2007-03-27
| | | | | successfully with -fstrict-alias. (CVS 3725) FossilOrigin-Name: c8a8a189a82500aab501e9949f5b197c0b80b3a9
* Modify sources to that they can be combined into a single sqlite3.c sourcedrh2007-03-26
| | | | | file. Eliminate all type-pruned pointer warnings. (CVS 3722) FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85
* Clarify the use of loop variables in a expr.c. (CVS 3683)drh2007-03-12
| | | FossilOrigin-Name: e20e76f6d8578f4faab0b101b6d4deb2a8987454
* Add comments to sqlite3ExprCompare() to clarify its operation. Ticket #2216. ↵drh2007-02-24
| | | | | (CVS 3663) FossilOrigin-Name: fba0a1e50820677081bc7cf01f97bf953065f7c4
* Additional tests and some improvements to the INSERT transferdrh2007-02-24
| | | | | optimization. More testing is needed. (CVS 3661) FossilOrigin-Name: 830985814345f71ba2def3c206e36aabe9e1ee7c
* Make sure that integer values are converted to real when pulled fromdrh2007-02-24
| | | | | | | a REAL table column by GROUP BY. Ticket #2251. Also make sure default values are correctly expanded. There may be other places in the code where this issue comes up - we need to look further. (CVS 3659) FossilOrigin-Name: e11bbf174c5a2fa75e3d1dd450c8b2a18f40e4da
* Clarify the documentation on how comparisons occur in an IN operator. drh2007-02-23
| | | | | | | | Fix the comparison operators when both sides of an IN operator are expressions (ticket #2248). Changes to main.mk for adding FTS2 into the standard build also got mixed in with this check-in by mistake. (CVS 3656) FossilOrigin-Name: da81725ca1cd894b3f2d734767e10cc0dc329566
* Use OP_VColumn instead of OP_Column when querying virtual tables for values ↵danielk19772007-02-14
| | | | | to save in aggregate context records. #2230. (CVS 3644) FossilOrigin-Name: cb78f7cb0f0bf0c799a929fd6ea30f25e2a7b5d0
* Explicit collations always override implicit collations. This isdrh2007-02-07
| | | | | | backwards compatible since SQLite has not previously supported explicit collations. Need to add tests of this new behavior. (CVS 3633) FossilOrigin-Name: 3638823a629164e4158f76d03ff2cea1eab34e9d
* Minor tweaks to collating sequences. We'll hold of making major changesdrh2007-02-02
| | | | | | until 3.4.0, since we'll likely end up with some minor technical imcompatibilities. (CVS 3626) FossilOrigin-Name: 9740aa95a3f848fc663c88263a911fbc76ada243
* First cut at adding the COLLATE operator. Regression tests pass (or at leastdrh2007-02-01
| | | | | | the quick set does) and a few new tests have been added. But many more tests are needed. Rules for combining collations need to be worked out. (CVS 3624) FossilOrigin-Name: 85cca7cd252d46ba71d302a89bc67c56146ec552
* Allow up to 64 tables in a join (the number of bits in a long long int).drh2007-02-01
| | | | | The old limit was 32 tables. (CVS 3622) FossilOrigin-Name: 505dce8f4e8717341e04f49f6f382719c3c704f1
* Fix for ticket #2141. (CVS 3552)drh2007-01-04
| | | FossilOrigin-Name: 70f5f3b85f30bbec0ddc59ba364e1229c09ed636
* Query optimizer enhancement: In "FROM a,b,c left join d" allow the C tabledrh2006-12-16
| | | | | | | to be reordered with A and B. This used to be the case but the capability was removed by (3203) and (3052) in response to ticket #1652. This change restores the capability. (CVS 3529) FossilOrigin-Name: 7393c81b8cb9d4344ae744de9eabcb3af64f1db8
* Fix a typo in the OMIT_AUTORIZATION in expr.c. (CVS 3518)drh2006-11-23
| | | FossilOrigin-Name: 3dea7fbefdadb269e58ae76bb9a7281c96d8b15b
* Documentation updates for the new SQLITE_FUNCTION authorization. (CVS 3366)drh2006-08-24
| | | FossilOrigin-Name: e029637e54e190c89206725a99e1ee7db6c23804
* Enhance the sqlite3_set_authorizer() callback so that it provides callbacksdrh2006-08-24
| | | | | on each SQL function that is invoked. (CVS 3365) FossilOrigin-Name: 4547c81f7da29b1490c6eba8d9c333218c5cb88f
* Prevent memory leak and possible NULL pointer deference after mallocdrh2006-07-11
| | | | | failure. Ticket #1886. (CVS 3329) FossilOrigin-Name: b1f326e6959ef3be11f772e80f5ab6dd65b2d065
* Better comment to describe the confusing operand reversal for infixdrh2006-07-08
| | | | | functions. (CVS 3325) FossilOrigin-Name: 30dfb9bf2131370fe57e000495f5c292d392a010
* For infix functions (LIKE, GLOB, REGEXP, and MATCH) treat the leftdrh2006-07-08
| | | | | | | operand as the first argument for the purposes of virtual table function overloading, even though the left operand is really the the second argument. (CVS 3324) FossilOrigin-Name: 6e98373ca11c9d476f4c6b1841c6e006b7a49f29
* Allow virtual table implementations to overload function that usedrh2006-07-08
| | | | | a column of the virtual table as their first argument. Untested. (CVS 3322) FossilOrigin-Name: 12cc7af4b6b8b4f1a43d962fbafde8cba683a907
* Added code to INSERT, DELETE and UPDATE virtual tables. The new code isdrh2006-06-14
| | | | | mostly untested. (CVS 3248) FossilOrigin-Name: 32c97b884b104d120db3c0a87f5eab28f36851f8