aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Simplify the parser reduction code for the LIMIT clause on an UPDATE ordrh2008-10-10
| | | | | DELETE. (CVS 5792) FossilOrigin-Name: 3de179630e812396ec29e77f7a06758472d0802f
* Re-factored memory allocation failure handling in the sqlite3LimitWhere() ↵shane2008-10-10
| | | | | function based on failures in the mallocJ.test script. (CVS 5791) FossilOrigin-Name: 43507bbefbf79e8db8fe31319ad621d48247983f
* Updated LIMIT support for DELETE/UPDATE. Omit option changed to ↵shane2008-10-10
| | | | | SQLITE_ENABLE_UPDATE_DELETE_LIMIT. (CVS 5788) FossilOrigin-Name: c10e8a3c7ab7f21c95f24d0aba590f5b18a4b028
* Fix an assert() failure that can occur if the user attempts to set an into ↵danielk19772008-10-09
| | | | | an integer primary key column to a text value in a table that has a BEFORE UPDATE trigger. (CVS 5787) FossilOrigin-Name: c2cf9d60d6626844193b008a37e4417aa0a0f323
* Minor cleanup of the new "status" command on the TCL bindings. (CVS 5783)drh2008-10-09
| | | FossilOrigin-Name: ec01bd72ee875df179c680c1a40304d2f807fe38
* After an OP_NullRow is executed on a cursor, cause any subsequent OP_Next or ↵danielk19772008-10-08
| | | | | OP_Prev to behave as if there were no more rows to traverse. Ticket #3424. (CVS 5782) FossilOrigin-Name: af679f6170b346fe61df7dae963b2a2853e62a62
* Add the experimental sqlite3_stmt_status() interface. (CVS 5781)drh2008-10-07
| | | FossilOrigin-Name: de473efb35ffdf9a8222a70a84dfd7d3198c87c1
* Raise the hard upper bound on SQLITE_MAX_FUNCTION_ARG to 1000 from 100.drh2008-10-07
| | | | | | The default upper bound is still 100, but it can now be raised as high as 1000 at compile-time. (CVS 5780) FossilOrigin-Name: 79df72ee836db91647913055ba6cf55558679b01
* Remove the SQLITE_MUTEX_APPDEF compile-time option. The SQLITE_THREADSAFE=0drh2008-10-07
| | | | | | option always removes all mutex code. For application-defined mutexes only, use SQLITE_THREADSAFE=1 with SQLITE_MUTEX_NOOP=1. Ticket #3421. (CVS 5779) FossilOrigin-Name: 02a12eb1cfe9307c66556105a1a99d657cc01ab5
* Have sqlite3_bind_value() call sqlite3ApiExit() before returning. Otherwise ↵danielk19772008-10-07
| | | | | the db->mallocFailed flag may not be cleared. (CVS 5777) FossilOrigin-Name: 6b7c8d56403f6b9b88b8494c86f3d62e487cb2ac
* Do not use double unnecessarily in date+time functions. Ticket #3422. (CVS ↵drh2008-10-07
| | | | | 5776) FossilOrigin-Name: b03231323a7f06c736c38ae3c5535d2fd025583f
* Fix a problem with hot-journal rollback. SQLITE_CANTOPEN was being returned ↵danielk19772008-10-07
| | | | | if the hot-journal file contained a pointer to a master journal file that did not exist. (CVS 5775) FossilOrigin-Name: 22d1feb9b20b8fd9c86066b94e4220cf8929b043
* Initial support for LIMIT clause on DELETEs and UPDATEs. Changes likely ↵shane2008-10-07
| | | | | with more testing. The code can be omitted with the define SQLITE_OMIT_UPDATE_DELETE_LIMIT. (CVS 5774) FossilOrigin-Name: 9c8b132e34bc6024bc9898182f8f93127ca52ac9
* Removed redundant assert(). (CVS 5773)shane2008-10-07
| | | FossilOrigin-Name: 486b1124f76bcf0505b6be908f2a3e988ad6e05d
* Allow INDEXED BY and NOT INDEXED to be used in UPDATE and DELETE statements. ↵danielk19772008-10-06
| | | | | (CVS 5772) FossilOrigin-Name: 83a7e446b2d4846a6f92bd831a2adaa265f5a786
* 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
* In sqlite3_bind() interfaces, avoid acquiring the mutex until after thedrh2008-10-06
| | | | | statement handle has been validated. Ticket #3418. (CVS 5768) FossilOrigin-Name: 693503e241001271512f4ce3e8cc932ba6a3106c
* Allow INDEXED BY and NOT INDEXED clauses in SELECT statements. (CVS 5766)danielk19772008-10-06
| | | FossilOrigin-Name: 98ca5580f5acd2e7b3ce512520ec0527f221505e
* Change to reduce the number of OP_Null opcodes in "WHERE <rowid> IN (x,y,z)" ↵danielk19772008-10-02
| | | | | queries. (CVS 5763) FossilOrigin-Name: 33b59a3db0b1797663ae840ceaca1b23a9a9e3b0
* Fix for sqlite3_blob_write(): If either 3rd or 4th argument is less than ↵danielk19772008-10-02
| | | | | zero, return SQLITE_ERROR. H17879. (CVS 5762) FossilOrigin-Name: f6074c0b9b5ba51d131509dba2aec80d0fcf3b7e
* Fix a typo that prevents the sqlite3_sql() interface from appearingdrh2008-10-02
| | | | | in the official documentation. (CVS 5761) FossilOrigin-Name: b46814b202f4cc355b925551c90ea811f3f9e44a
* Optimize queries that contain "WHERE rowid IN (x, y, z...)" by using an ↵danielk19772008-10-02
| | | | | intkey btree to store the (x, y, z...) set instead of an index btree. (CVS 5760) FossilOrigin-Name: 803a1736d56b3c07b8ad38715fe0e39196ecc507
* Fix a bug in where.c where a non-temp register was being incorrectly ↵danielk19772008-10-01
| | | | | deallocated. Ticket #3408. (CVS 5758) FossilOrigin-Name: 59d2e89e2181c26b18eac68ccc80ea3018f70a5e
* Add some testcase() and assert() macros to btree.c to aid with testingdrh2008-09-30
| | | | | recent changes. (CVS 5757) FossilOrigin-Name: fb461b78dfc2501fafa8bce03da5487fdfdff959
* Fix a comment in btree.c. No code changes. (CVS 5756)danielk19772008-09-30
| | | FossilOrigin-Name: 0f3c56330b43fb7c9dc43a444ca38bace9397ede
* Change leading tabs into spaces. (CVS 5755)drh2008-09-30
| | | FossilOrigin-Name: 4e536463c1aa9991de85c7efc826c28896ca61d3
* Fix a recently introduced problem with deleting entries from index tables. ↵danielk19772008-09-30
| | | | | (CVS 5754) FossilOrigin-Name: 83c064cae481ca95b7107e22e98fc599fe85a2da
* Misc clean up. Wrapped a CE only variable in if-defs. Changed to only ↵shane2008-09-30
| | | | | provide cache hint for CE builds (as this prevents CE from compressing the file.) Performance testing on XP and Vista showed caching hint had little effect when the DB size was much smaller than the O/S disk cache size, and provided only marginal benefit when the DB size was much larger than the cache. On Vista, overall system performance was hurt for very large DBs. Ticket #3387. (CVS 5753) FossilOrigin-Name: 15dd0169a4c5e2ff9e3894eec10799cb89d462e5
* Remove the reparentPage() and reparentChildPages() functions from btree.c. ↵danielk19772008-09-29
| | | | | All calls to these functions can now be replaced by a call to setChildPtrmaps(). (CVS 5751) FossilOrigin-Name: 35e8e4dcd24b050b535ae005ca3b25e6a673eb89
* Remove the MemPage.idxShift variable. It is no longer required. (CVS 5750)danielk19772008-09-29
| | | FossilOrigin-Name: 7354abd03be756b1d7d0a3d5b8958f5c0c985ff5
* Instead of storing a pointer to the parent page in the MemPage structure, ↵danielk19772008-09-29
| | | | | have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747) FossilOrigin-Name: 40425e93421286cca1965d7a5769084526210c7a
* Add the "truncate" journal mode which commits transactions by truncating thedrh2008-09-26
| | | | | rollback journal file to zero length and not calling fsync(). (CVS 5745) FossilOrigin-Name: 7c561f2e9264de676c1028943f6c3d06542fd802
* Make sure the queueMutex is held prior to writing the pQueueLast fielddrh2008-09-26
| | | | | of the write queue in the async demonstration code. Ticket #3405. (CVS 5744) FossilOrigin-Name: 5622a1e285fc4d5720f7180a0eb551952f2df331
* Performance enhancement: avoid calling reparentChildPages() from ↵danielk19772008-09-26
| | | | | balance_nonroot(). (CVS 5743) FossilOrigin-Name: 28fd0a50ca8529892f5b1ababd38d494889eed6d
* Fix some function declarations (change "int foo()" to "int foo(void)"). ↵danielk19772008-09-24
| | | | | Ticket #3399. (CVS 5740) FossilOrigin-Name: 0fb98c35353d8c0a8d669bbe45fe84e3a5060621
* Catch another case where SQLITE_IOERR could be returned instead of ↵danielk19772008-09-23
| | | | | SQLITE_NOMEM following an out-of-memory error. (CVS 5739) FossilOrigin-Name: 18d030da0c1755aab458e5aa0d3ad0a714706d67
* Always transform error code SQLITE_IOERR_NOMEM to SQLITE_NOMEM before ↵danielk19772008-09-23
| | | | | returning. This was already happening in most places. (CVS 5738) FossilOrigin-Name: 046ef07261d520c9399bd8cdfdfd5281956b7a27
* Enable the LOCKING_STYLE extensions by default on a Mac. Leave themdrh2008-09-23
| | | | | disabled on all other posix platforms. (CVS 5737) FossilOrigin-Name: bae1d5b16948705b7dec7b139e3586b4b510cbfa
* Remove an unused variable from the test logic. (CVS 5736)drh2008-09-23
| | | FossilOrigin-Name: 309ba380d985d77419a6e185373493e043823258
* Fix the TCL installer so that it omits the release number. Ticket #3396.drh2008-09-23
| | | | | | Use strcmp() instead of sqlite3StrICmp() in the "copy" method of the SQLite object in the TCL interface. (CVS 5735) FossilOrigin-Name: a88606245760eaf8054d67773db7d8b795e8ca25
* Add no-op Unload entry points to the TCL interface. Ticket #3397. (CVS 5734)drh2008-09-23
| | | FossilOrigin-Name: b31dd1e3f1d927b9236b7ebeb331268cbd253083
* Fix for ticket #3382 was mistakenly removed by (5712). Add an assert todrh2008-09-23
| | | | | prevent it from being removed again. (CVS 5733) FossilOrigin-Name: 01d26b3df7029f7fa09231c18a7b9f9a1a967916
* Get rid of all of the compiler magic associated with SQLITE_EXPERIMENTALdrh2008-09-22
| | | | | | and SQLITE_DEPRECATED. It was causing more problems than it was solving. Ticket #3395 et al. (CVS 5732) FossilOrigin-Name: bc040073c7c059e91fddece27f99fa359cc1405d
* Fix a memory leak that can follow a malloc failure in sqlite3_initialize. ↵danielk19772008-09-22
| | | | | (CVS 5731) FossilOrigin-Name: 118dc0ba082dd9abba5602dafc86bd56e756db86
* Add instrumentation to os_unix.c to test that a return value of SQLITE_FULL ↵danielk19772008-09-22
| | | | | from an xSync() callback is handled correctly. (CVS 5730) FossilOrigin-Name: 7bd2da93c6cce52edbbe53fe26a82ad159dd6b6b
* Remove unused macro Release() from vdbe.c. (CVS 5728)danielk19772008-09-22
| | | FossilOrigin-Name: 915679431a70c593a83cf5e8b1dcce1555e9518e
* Give file scope to non-API routines in pcache. Ticket #3392. (CVS 5727)drh2008-09-21
| | | FossilOrigin-Name: 6521f98ac3a5cd2d959a9672cd07b1d25b82d559
* Speed up releaseMemArray() a bit by handling the most common types of memory ↵danielk19772008-09-19
| | | | | cells inline. (CVS 5726) FossilOrigin-Name: ce07508550da858beb0bc0763c65e6d556bb0843
* In function moveToRoot(), use the MemPage.pParent pointers to find the root ↵danielk19772008-09-19
| | | | | page if they are valid. This is slightly faster than requesting a new reference to the root page from the pager layer. (CVS 5725) FossilOrigin-Name: 0c8b74e668b7462c5439c04993d1d7cd74210075