aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix asserts in hash.c so that zero-length symbols can be used. (CVS 6563)drh2009-04-28
| | | FossilOrigin-Name: fe9f00aa369051beee09ab3d1a2e046a1f679a40
* Remove an unused function declaration from hash.h. (CVS 6561)drh2009-04-28
| | | FossilOrigin-Name: fcf70bb8b8ab7682d46fa7e75338dfd8ecf472a3
* Simplifications to the symbol table implementation in hash.c. For very smalldrh2009-04-28
| | | | | | | symbol tables (less than 10 entries) a simple linked list is used instead of a hash table. Number of hash table buckets is limited to prevent large allocations. (CVS 6559) FossilOrigin-Name: 5c737835dec9e6038b304c198aa14337a6f23c1c
* Have sqlite3_create_collation() return MISUSE if passed an encoding value ↵danielk19772009-04-28
| | | | | other than SQLITE_UTF8, SQLITE_UTF16LE, SQLITE_UTF16BE, SQLITE_UTF16 or SQLITE_UTF16_ALIGNED. (CVS 6558) FossilOrigin-Name: 7975b6f2ec7736b3656a264c2f7e7e95ce7a78e4
* Do not store the zero string terminator as part of the name when holdingdrh2009-04-28
| | | | | symbols in the symbol table. (CVS 6557) FossilOrigin-Name: 23d67af39227aeade2ea0292e1b8844eea580993
* 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
* Avoid changing the pager journal-mode once a write-transaction is open, even ↵danielk19772009-04-28
| | | | | if no database pages have been modified. (CVS 6554) FossilOrigin-Name: ad8aba3eff90d42b936e3644f10cbbd431eebad8
* Make sure sqlite3_open16() always zeros the db return pointer ifdrh2009-04-28
| | | | | SQLite initialization fails. (CVS 6552) FossilOrigin-Name: 057c7d171397e19c8f3ac2362ea45f2b4a50530c
* Enhance sqlite3_complete() so that it understands EXPLAIN QUERY PLAN.drh2009-04-28
| | | | | Ticket #3828. Testing is done in TH3. (CVS 6551) FossilOrigin-Name: 3ac1b15f552fe005630e43a92fffa6a4abd6675d
* Bring the documenation and implementation of sqlite3_collation_needed() intodrh2009-04-27
| | | | | | | agreement. Use a more efficient implementation of sqlite3ErrStr(). sqlite3_result_error_code() now calls sqlite3ErrStr() if no prior error string was set. (CVS 6550) FossilOrigin-Name: cb9af8293624da35c32077d0f46d5b0cf826dcf5
* Tests for the new asynchronous IO API. (CVS 6549)danielk19772009-04-25
| | | FossilOrigin-Name: 11b2564e7159168cd0815bb9bc93688586fad1e0
* Dequote the "from" table in a FOREIGN KEY definition (affects the output of ↵danielk19772009-04-24
| | | | | "pragma foreign_key_list). Fix for #3800. (CVS 6547) FossilOrigin-Name: 600482d1619c07690b6517ded9655462bdab7538
* Get rid of the special RowSet processing in where.c and move that intodrh2009-04-24
| | | | | | clients. Added the WHERE_DUPLICATES_OK option to eliminate an unnecessary RowSet during DELETE with a WHERE clause containing ORs. (CVS 6546) FossilOrigin-Name: 98606bee9e41b8969fb639fc43864e230185ca43
* Make sure that the optimizer realizes that an "x IS NULL" contraint does notdrh2009-04-24
| | | | | necessarily give a single-row result even on a UNIQUE index. Ticket #3824. (CVS 6545) FossilOrigin-Name: 207335fdbf992a2f5bc5982b3163a38016ba1b21
* Make selecting the asynchronous IO file-locking mode a runtime operation. ↵danielk19772009-04-24
| | | | | Still untested. (CVS 6544) FossilOrigin-Name: 577277e84a05707b8c21aa08bc5fc314c1ac38ac
* os_win.c, winOpen(), changed to handle the SQLITE_OPEN_EXCLUSIVE flag and ↵shane2009-04-23
| | | | | sharing modes in the same manner as os_unix.c. Ticket #3821. (CVS 6542) FossilOrigin-Name: 18fef3fcf61c137a89a83352f6769ed06845434a
* Move the asynchronous IO code from src/test_async.c to ext/async/. Refactor ↵danielk19772009-04-23
| | | | | it to be a standalone module and to support windows. (CVS 6539) FossilOrigin-Name: e71fb0fb8d83b4453c3c1e84606bf58d04926809
* 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
* Change the OP_Rowid opcode so that a deferred OP_Seek is pending, it simplydrh2009-04-22
| | | | | | pulls the rowid from the deferred seek target and does not actually move the cursor or do a seek. Other where.c cleanups. (CVS 6536) FossilOrigin-Name: 1c508a99822caa383e7e24b5d09a9bddd2ee3a00
* Remove the rowhash object from the code. Rowset now fills its role. (CVS 6535)drh2009-04-22
| | | FossilOrigin-Name: e963bed0fe3ce5fa32f04b930e5ed0956dc2aa47
* Extend the Rowset object to contain all the capabilities of Rowhash indrh2009-04-22
| | | | | | | | addition to its legacy capabilities. Use Rowset to replace Rowhash. In addition to requiring less code, This removes the 2^32 result row limitation, uses less memory, and gives better bounds on worst-case performance. The Rowhash implementation has yet to be removed. (CVS 6534) FossilOrigin-Name: b101cf70b75c9772aaf50e0eadd0cfa37c84d193
* Move RowHashBlock.nUsed to RowHash.nUsed. Fix a typo in a comment in ↵danielk19772009-04-21
| | | | | test_async.c. (CVS 6533) FossilOrigin-Name: 799d31d99fd18a6f99862433384e37d6747ee5b3
* Fix a segfault that followed a malloc failure introduced by (6527). (CVS 6532)danielk19772009-04-21
| | | FossilOrigin-Name: 08e71b114087cfddd36c066265982172fcb41c9a
* Allocate the initial RowHash object using lookaside. (CVS 6530)drh2009-04-21
| | | FossilOrigin-Name: 9b30ab7199d8b51bdea8ec7f0410281527623673
* New comments and minor refactoring of rowhash.c. (CVS 6529)drh2009-04-21
| | | FossilOrigin-Name: b8cb4f3e2473afaee7c147a6b3f0972f69391a9a
* Remove a redundant test from sqlite3_shutdown(). (CVS 6528)drh2009-04-21
| | | FossilOrigin-Name: 6f481ceb503c7df74d9417a5a7f019ff56261ea8
* Attempt to optimize virtual table queries with 'OR' expressions in the WHERE ↵danielk19772009-04-21
| | | | | clause. (CVS 6527) FossilOrigin-Name: f61e4cd93682fd98bea2a71d346f9eaa68454390
* Change the journal_mode pragma so that it always returns the currentdrh2009-04-20
| | | | | | | journal mode, even on a failed attempt to change the journal mode. Allow the journal mode to be changed as long as there is not a pending transaction. Ticket #3811. (CVS 6526) FossilOrigin-Name: 419e320ae51639794335d19699f8e1189e524e7d
* Clarify the documentation to make it clear that sqlite3_interrupt() does notdrh2009-04-20
| | | | | | effect new SQL statements that are started after the running statement count reaches zero. Ticket #3815. (CVS 6524) FossilOrigin-Name: 3182e8bf69eb4e5e4070930cb9c750942b1dc735
* Do not use deprecated interfaces internally when compiling withdrh2009-04-20
| | | | | SQLITE_OMIT_DEPRECATED. Ticket #3813. (CVS 6523) FossilOrigin-Name: 7f17956dfbf3090fd5832378e77bd83a525fed9d
* Speed improvements by avoiding unnecessary calls to fstat() and ftruncate(). ↵drh2009-04-20
| | | | | (CVS 6522) FossilOrigin-Name: 5b7e3a411a6f2fe296675de9467783f6625cff3f
* Update comments and remove unused code in btree.c. No functional changes. ↵drh2009-04-19
| | | | | (CVS 6521) FossilOrigin-Name: bd860184909b7a9cc32c59770ebcee0efdc491f0
* Make extra calls to sqlite3_shutdown() be harmless no-ops. (CVS 6520)drh2009-04-19
| | | FossilOrigin-Name: d80822953c2d2f2fd7f6acdd3caa403c0decacc4
* Revise the implementation of sqlite3_initialize() slightly in order to makedrh2009-04-17
| | | | | it more easily testable. The functionality should be unchanged. (CVS 6519) FossilOrigin-Name: bb1a390a3d2f79b27e3ec2514ae00f5b22dbfb06
* Get the behavior of SQLITE_HAVE_ISNAN right. It was reverseddrh2009-04-17
| | | | | in check-in (6517). Ticket #3809. (CVS 6518) FossilOrigin-Name: 97c6ea2368556b2a9a914ba2322085e312598b15
* Add the SQLITE_HAVE_ISNAN compile-time option which, if present, causesdrh2009-04-17
| | | | | | SQLite to use the math library isnan() function rather than its own homebrew implementation of isnan(). (CVS 6517) FossilOrigin-Name: 54d23521c37938b9d98f41f5547975c469c0c8f0
* Add NEVER and ALWAYS tags to conditionals in analyze.c that always false ordrh2009-04-16
| | | | | true. (CVS 6515) FossilOrigin-Name: fbbc80eaf3bb3726b053d1050104b4ec602eb0c1
* Changes to alter.c to enable full branch coverage testing. (CVS 6513)drh2009-04-16
| | | FossilOrigin-Name: 6a91ab08a55eacc77f69190e1126326f4da220af
* Make sure the 'unixepoch' converter in the date and time functions roundsdrh2009-04-16
| | | | | | to the nearest millisecond rather than truncating downward to the next smaller millisecond. Ticket #3808. (CVS 6512) FossilOrigin-Name: e6e036b345b130c207716c4b81719b5b7c884a11
* In a 3-fold compound SELECT make sure early code generation of the SELECTsdrh2009-04-16
| | | | | to the right do not dereference non-existant columns in SELECTs on the left. (CVS 6511) FossilOrigin-Name: 414f340809c487901fa913026a342b19a2956c0a
* Fix the group_concat() function so that it inserts the separator stringdrh2009-04-15
| | | | | even if the initial content strings are empty. Ticket #3806. (CVS 6510) FossilOrigin-Name: b83fbf15a3920755ed77dc9c91b4f00a86ddb9ac
* Fix access violation on WinCE platforms. Ticket #3804. (CVS 6509)shane2009-04-15
| | | FossilOrigin-Name: e203ad400dd61431b3e6b8219eb5357b6ca06561
* Mark an branch in alter.c as always false. Only run the assert() ondrh2009-04-15
| | | | | | the sqlite3_aggregate_count() function in func.c if the SQLITE_OMIT_DEPRECATED compile-time option is off. (CVS 6508) FossilOrigin-Name: c0bba77ae619e709f3fb068526073a4a83cf33b6
* nMax can be zero and subtracting 1 from an unsigned zero produces ↵aswift2009-04-14
| | | | | undesirable results (CVS 6506) FossilOrigin-Name: a117d82dad82bc372bc1e3f1adb9540c1accf851
* Change the sqlite3_bind_value() implementation to use a default branch ondrh2009-04-14
| | | | | the type switch so that there are no untested jumps in the switch. (CVS 6505) FossilOrigin-Name: d0a8bd6a53c5da0ac6b88818f82c7f7d330b527a
* Reimplement the sqlite3_bind_value() interface so that it works when thedrh2009-04-14
| | | | | value being bound comes from a different database connection. (CVS 6504) FossilOrigin-Name: 3db0c7980668cf38165add13f833863cd00a0cfe
* Enhancements to virtual table documentation. Comment changes only. No ↵drh2009-04-13
| | | | | | | changes to code. (CVS 6503) FossilOrigin-Name: b0b2b2831cc84d57e90bf587ebed600fa72926e9
* Fix an obscure problem with recovery from I/O errors while rolling back. ↵drh2009-04-11
| | | | | (CVS 6498) FossilOrigin-Name: 24ff486125b9ad62dd92314b62299093b55fe82b