aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
Commit message (Collapse)AuthorAge
...
* Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate ↵danielk19772006-06-13
| | | | | memory in the Destroy() method of the echo module. (CVS 3221) FossilOrigin-Name: f9ea9704755eee3fd29af7a47be1d41620be8835
* Progress toward getting the virtual-table code generator to work. (CVS 3220)drh2006-06-13
| | | FossilOrigin-Name: 3532f1340f939b0231c1d82a7b2d186cb096fb29
* Progress toward CREATE VIRTUAL TABLE. Still not even close to working... ↵drh2006-06-11
| | | | | (CVS 3211) FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
* Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)drh2006-05-23
| | | FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10
* Miscellaneous code cleanup. (CVS 3143)drh2006-03-17
| | | FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f
* Code changes resulting from Coverity analysis.drh2006-03-06
| | | | | | | http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
* Allow WHERE clause terms on the left table of a LEFT OUTER JOIN todrh2006-03-02
| | | | | contain aggregate subqueries. Ticket #1697. (CVS 3117) FossilOrigin-Name: a286e54e26f9a364127649eeea160d5fa8928faf
* Fix the origin APIs so that they correctly handle views and subqueries that ↵danielk19772006-02-10
| | | | | cannot be flattened. (CVS 3072) FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
* Fix bug with CHECK constraints contain an IN operator. Ticket #1645. (CVS 3035)drh2006-01-30
| | | FossilOrigin-Name: 944df310ce8d32798135c70becee7845676520ae
* Rename some variables to avoid hiding others. Also add "static" to two ↵danielk19772006-01-24
| | | | | function signatures that were missing it. (CVS 3024) FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4
* Improve coverage of expr.c and btree.c slightly. (CVS 2992)danielk19772006-01-23
| | | FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494
* Use a global variable protected by a mutex instead of thread-specific-data ↵danielk19772006-01-18
| | | | | to record malloc() failures. (CVS 2972) FossilOrigin-Name: ac090f2ab3b5a792c2fdf897e10060f263e0d408
* Minor modification to restoreOrClearCursorPosition() to improve efficiency. ↵danielk19772006-01-13
| | | | | Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) FossilOrigin-Name: dd705955429d847af85ffaf248976bcd1d861852
* Automatically deallocate thread-specific data when it is no longerdrh2006-01-11
| | | | | | | being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) FossilOrigin-Name: 5d9c6aa964305c3f36741ff0058da5b5f3ce0d24
* Store collation sequence names instead of pointers in sharable schema data ↵danielk19772006-01-10
| | | | | structures. (CVS 2904) FossilOrigin-Name: 0f0213be4d064b3d24e31ff93ec16f6862003d26
* Fix some errors to do with attached databases and text encodings in ↵danielk19772006-01-09
| | | | | shared-cache mode. (CVS 2895) FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb
* Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)danielk19772006-01-09
| | | FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
* Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)danielk19772006-01-05
| | | FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
* Always case 0 to (char*) on varargs functions. Otherwise there are problemsdrh2006-01-03
| | | | | on 64-bit machines. (CVS 2854) FossilOrigin-Name: 837dc77ff9f5271b7e1bb8602fc021670c7802d1
* Clean up annoying (and pointless) compiler warnings about differing ↵drh2005-12-09
| | | | | signedness. (CVS 2810) FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
* Some elements of the new malloc() failure handling. Not all cases work ↵danielk19772005-12-06
| | | | | properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) FossilOrigin-Name: e1606658f1b4530e3001db4779b5669c8d13c853
* Make the OsFile structure opaque with its internal structure known only todrh2005-11-29
| | | | | | the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h include files. The crash tests are broken by this patch. (CVS 2791) FossilOrigin-Name: 058f31753871b16b40fe4048e3adcee411e0f87d
* Replace a call to sprintf() with sqlite3MPrintf() since on some embeddeddrh2005-11-28
| | | | | | platforms, sprintf() is busted. Need to go through and do similar replacements elsewhere in the code. (CVS 2790) FossilOrigin-Name: 1b4f2d89bbe833359cefcea580783fd92aa7b8ab
* Do not allow aggregate functions in a WHERE clause. Ticket #1514. (CVS 2769)drh2005-11-16
| | | FossilOrigin-Name: bb866ed880c33ec9ce6ded8ebdbb459fedf9c257
* Create separate affinities for INTEGER and REAL. (CVS 2766)drh2005-11-14
| | | FossilOrigin-Name: ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd
* Remove a C++-ism that slipped into the code during the recent CHECKdrh2005-11-05
| | | | | enhancements. Ticket #1513. (CVS 2762) FossilOrigin-Name: e66289b52f56c8242aa264a9365c834cd820e988
* Prohibit parameters in CHECK constraint expressions. (CVS 2758)drh2005-11-03
| | | FossilOrigin-Name: bb94ef64b227839a0ef4156985e2f5a061a78e2c
* Disallow subqueries in CHECK constraints. (CVS 2756)drh2005-11-03
| | | FossilOrigin-Name: db27afc4cdc5b51c1fa0e83dbd6d4a4a69c5b642
* First cut at supporting CHECK constraints. Everything appears to work,drh2005-11-03
| | | | | but much more testing is needed as well as documentation. (CVS 2754) FossilOrigin-Name: 2313d912baeca0fd516d524f16708953de483729
* Omit the SQLITE_AFF_INTEGER type affinity. All numeric values are nowdrh2005-11-01
| | | | | | of type real, though an integer representation is still sometimes used internally for efficiency. (CVS 2753) FossilOrigin-Name: e0d6f61c7de2c03b8fd17ef37cf1a0add36ee618
* More efficient handling of the LIMIT clause. Scalar subqueries and EXISTSdrh2005-10-06
| | | | | on compound SELECT statements now working properly. Ticket #1473. (CVS 2747) FossilOrigin-Name: edca8913ca012fc0c17343a27f819de95147b1bd
* Fix an uninitialized structure member that was causing a malfunction whendrh2005-09-23
| | | | | you used deeply nested and very complex views. Ticket #1449. (CVS 2733) FossilOrigin-Name: 352cc9f53b7724621ecbf3a6362f34c31a18cce8
* Code cleanup and simplification. Three new Mem opcodes added.drh2005-09-20
| | | | | The sqlite3VdbeJumpHere function added. (CVS 2730) FossilOrigin-Name: 2471957feee57538e5e1e50a704a337f0927d10e
* Fix a whole host of newly discovered memory leaks the occur after adrh2005-09-16
| | | | | failure of realloc(). (CVS 2696) FossilOrigin-Name: 4686d649756a0aa301ade901ac49c89a976c5402
* Infrastructure for the DISTINCT keyword in aggregate functions. But it doesdrh2005-09-09
| | | | | not work yet. If you try to use it you get an error message. (CVS 2680) FossilOrigin-Name: 4d62e36fe3819c2a1412737c2ec8a91ddc5e1777
* More bug fixes. But there are still tests that fail. (CVS 2664)drh2005-09-07
| | | FossilOrigin-Name: 7e85a162d0ecf0acdbffcacc62b60d97fe123881
* Rewrite the aggregate handling logic so that it runs in O(1) space.drh2005-09-07
| | | | | This is the first cut at the code. Many regression tests fail. (CVS 2662) FossilOrigin-Name: 17039ec3ff4396862beedf4a8af89654b2140f58
* Fix bugs introduced by checkin (2656) and do some modest code enhancements. ↵drh2005-09-05
| | | | | (CVS 2657) FossilOrigin-Name: 7b56763a8b514834198d2392639d6d726b17d901
* Sorting is now done using a sorting index rather than loading the entiredrh2005-09-01
| | | | | | | | result set into memory and doing a merge sort. The old merge sort technique was a carry-over from SQLite version 1. The new method uses a bounded amount of memory and scales to much larger result sets. There are still errors: some 39 regression tests fail. (CVS 2653) FossilOrigin-Name: 09db0a24241f9248584250d1728117b8a3159626
* Minor code enhancements. (CVS 2642)drh2005-08-30
| | | FossilOrigin-Name: 4ab994a87ee844f453d693555abd61b51bb44a0e
* When the left-hand side of an IN operator is constant and the right-handdrh2005-08-25
| | | | | | side is a SELECT, recognize that the IN operator is not constant. Ticket #1380. (CVS 2624) FossilOrigin-Name: fc9e04609b6968fc5039a6f9f808aac681f4fc41
* Remove a stray C++ style comment causing problems for some compilers. (CVS 2621)drh2005-08-24
| | | FossilOrigin-Name: aa7dd3f2c72335fe7778c021e4b6bbbc4ec322df
* Handle empty blob constants correctly. Ticket #1373. (CVS 2615)drh2005-08-23
| | | FossilOrigin-Name: 5cada745ac9bf18a65d21705a398b2bb8bd1aaa2
* Additional tests for better coverage. (CVS 2602)drh2005-08-19
| | | FossilOrigin-Name: 4281a838f2f531af24b008d2834e8318798472c5
* General code cleanup resulting in smaller footprint. (CVS 2595)drh2005-08-14
| | | FossilOrigin-Name: 98338abf9e8cfbf8efa81cff0e40ea37e34fd9b2
* Improved error message when a #NNN parameter appears on user input.drh2005-08-12
| | | | | Additional coverage testing. (CVS 2582) FossilOrigin-Name: 3c00f5982ae61dfcd26c33ccdb81736628dbfce5
* Optimize LIKE and GLOB operators in the WHERE clause. Code passes alldrh2005-08-12
| | | | | regression tests but still needs additional tests. (CVS 2581) FossilOrigin-Name: 3edbe8d6217fd1180883e6b9f1e5b9011a39f80d
* Optimizer now converts OR-connected WHERE-clause terms into an IN operator sodrh2005-07-29
| | | | | | | that they can be used with indices. There are known problems with the ORDER BY optimization in this and in several prior check-ins. This check-in is not recommended for production use. (CVS 2569) FossilOrigin-Name: d23c8bf81e508722e92ff1b9c8bc98dc026a31f2
* Split the OP_Integer opcode into OP_Integer and OP_Int64. This allowsdrh2005-07-21
| | | | | | comments to be added to OP_Integer. Cleanup in the optimizer. Allow terms of the FROM clause to be reordered automatically. (CVS 2556) FossilOrigin-Name: e2f822ac82d0a5a59de0b63cce65d4fd6c178ff1
* In where.c, split out the code that selects an index into a separatedrh2005-07-21
| | | | | subroutine. (CVS 2554) FossilOrigin-Name: c30cbba9ead1b4d07f225b1e8a65d5d5230ea45d