aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | Update mutex1.test so that it works with the memsubsys1 permutation ↵dan2011-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM. FossilOrigin-Name: 456bd5c63b41bae8e389df81e318b830aa314000
* | | | | | Rename the PCache1.mxPinned field to n90pct (since it is 90% of nMax) in orderdrh2011-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to distinguish it from PGroup.mxPinned. Fix the computation of n90pct so that it does not overflow adversely on excessively large cache sizes. FossilOrigin-Name: c85202baac49b22a4be36b9733d44f01d83edb28
* | | | | | Fix new compiler warnings in pcache1.c that were introduced by the recentdrh2011-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | performance enhancement patches of [e14649301138b684]. FossilOrigin-Name: c17703ec1e604934f8bd5b1f66f34b19d17a6d1f
* | | | | | Add a missing call to sqlite3PagerSync() removed by [ce552d975] to the ↵dan2011-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backup code. FossilOrigin-Name: 1965b85318c1fac62fae9691059021b298c17dde
* | | | | | Make sure the return code from doing an xSync is correctly initializeddrh2011-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that a valid return code is produced regardless of the path taken through the logic. FossilOrigin-Name: f12b5d76854c2f294ac60afe38a6dac37eb5b174
* | | | | | Change the name of SQLITE_FCNTL_SYNC to SQLITE_FCNTL_SYNC_OMITTED and onlydrh2011-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | send it when PRAGMA synchronous=OFF. Add better documentation to explain what that file-control opcode is used for. FossilOrigin-Name: 64914980855dbbf19512642836ca962a507b3ddb
* | | | | | Fix a couple of typos in comments. No changes to actual code.dan2011-01-25
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 9167fdb3560b1567a0bdc9a1906a87ec98e161f1
* | | | | | Fix a broken assert() in pager.c.dan2011-01-25
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 13108ce13c281f31aa60b403567710ae3d925797
* | | | | | Shave a few cycles so that performance is better than 3.7.4 in speed tests.drh2011-01-25
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: e14649301138b6840e24a4bbd2cf5205c0f72409
* | | | | | Modify the test_quote.c demonstration shim so that it works whendrh2011-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLITE_THREADSAFE=0 is defined. FossilOrigin-Name: b70bcccaf5597c8a59cccb64fb997523f7b8fe4f
* | | | | | Fix a typo in the documentation for sqlite3_snprintf(). No changes to code.drh2011-01-24
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 8d1065411aadf189880606c48ab63dd2a56b9793
* | | | | | Fix a harmless compiler warning (a shadowed local variable) in analyze.c.drh2011-01-24
| |_|_|/ / |/| | | | | | | | | FossilOrigin-Name: a1ad7fb38bb38909ca2fddee31c7a8001f10686f
* | | | | Modify the trace callback mechanism so that SQL commands executed from ↵dan2011-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments. FossilOrigin-Name: a764915b87564fa91ee68e9b1f41394ce0f1fc7e
* | | | | Change sqlite3StrAccumAppend() to use realloc instead of malloc.dan2011-01-21
| |_|_|/ |/| | | | | | | FossilOrigin-Name: 380f61df0754ceec6b3f6a758d04e951cce8c3d9
* | | | Comment improvements in pcache1.c. No changes to code.drh2011-01-19
| | | | | | | | | | | | FossilOrigin-Name: 9660a0a22547656cc3765b673d0cee9e1dd829ef
* | | | Do not use SQLITE_MUTEX_STATIC_MEM2 since it has been reused as STATIC_OPEN.drh2011-01-18
| | | | | | | | | | | | | | | | | | | | | | | | Instead, create a new static mutex STATIC_PMEM which is an alias for the unused STATIC_LRU2. FossilOrigin-Name: f1cf02efcb3a871fef49f8b5f41bcf07622a6d29
* | | | Here is a completely new implementation of the mutex-free-pcache. Thisdrh2011-01-17
| | | | | | | | | | | | | | | | | | | | | | | | one uses a common code base and automatically selects whether or not to use mutexes depending on compile-time and start-time options. FossilOrigin-Name: d094a1bfb7569a52b637fe9ba5d3fa6ce5ea6d94
* | | | Fix a typo in the documentation for sqlite3_stmt_readonly().drh2011-01-17
| | | | | | | | | | | | FossilOrigin-Name: 56417a3386fc84dd36bf1488e88149b1ac6a0d02
* | | | Add the SQLITE_OMIT_AUTORESET compile-time option which if enabled causesdrh2011-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the sqlite3_step() routine to return SQLITE_MISUSE if it is called after it has previously returned anything other than SQLITE_ROW, SQLITE_BUSY, or SQLITE_LOCKED. FossilOrigin-Name: 053ce76deb356d31358454507ba94947142e20ca
* | | | Add back an ALWAYS() to regain full test coverage.drh2011-01-17
| | | | | | | | | | | | FossilOrigin-Name: b93f6f3e679c7710f42580a8dd9ce43136376c1d
* | | | On a backup from a smaller to a larger page size, do not begin committingdrh2011-01-16
| | | | | | | | | | | | | | | | | | | | | | | | the transaction until the source pages after the pending byte have been copied. FossilOrigin-Name: 612e2599d3e1a17c268402fce018a53dee6dffe1
* | | | Make sure the change-counter and SQLite-version fields of the header aredrh2011-01-16
| | | | | | | | | | | | | | | | | | | | | | | | set correctly even when doing a VACUUM with locking_mode=EXCLUSIVE. Ticket [5d863f876ee9561b]. FossilOrigin-Name: 04fa1e16905183b948ee6456675799a873d5f97d
* | | | Fix the change-counter increment for WAL pages so that it works even whendrh2011-01-15
| | | | | | | | | | | | | | | | | | | | invoked from xStress. Ticket [5d863f876ee9561b95e2]. FossilOrigin-Name: 228e7c34c64114670fe015747d47fdaa3b7e1270
* | | | Increment the change counter and update the SQLite version number wheneverdrh2011-01-15
| | | | | | | | | | | | | | | | | | | | page 1 is added to the WAL. Ticket [5d863f876ee9561b9] FossilOrigin-Name: c1e0d09cd3f5feae123468a35f147021d839641c
* | | | Fix comments, including some documentation comments, in the page cachedrh2011-01-14
| | | | | | | | | | | | | | | | | | | | logic. No code changes. FossilOrigin-Name: c80e9c1a0dc0e501b209874e147e1cb1348cb4a4
* | | | Fix a bug in test code (test_vfs.c).dan2011-01-14
| | | | | | | | | | | | FossilOrigin-Name: 772a3845f8ef5cd3131992c45f6ce607977820f3
* | | | Fix a typo on the sqlite3_open_v2() documentation.drh2011-01-13
| | | | | | | | | | | | FossilOrigin-Name: b0add45abc9929c5b8d1124879bc3e8acf2ab7c7
* | | | Do not raise an SQLITE_CORRUPT error in Recoverymode drh2011-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if the database size in the header is larger than the physical file size. This facilitates recovery of a database in which the database size field has been corrupted. FossilOrigin-Name: 114640d920e16c85de90b19d53c485135875de5b
* | | | Merge accidentally created fork.dan2011-01-11
|\ \ \ \ | | | | | | | | | | FossilOrigin-Name: b7d080b8e850bd262f53f29ba4687a62cf76d4ef
| * | | | Change the page size of the destination database in a backup, if it isdrh2011-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | changeable, prior to starting the backup. FossilOrigin-Name: a5e4e0caad788318bc973e2550488a3b83128b8b
* | | | | Add the SQLITE_FCNTL_SYNC file-control.dan2011-01-11
|/ / / / | | | | | | | | FossilOrigin-Name: b3f2f465c310a2cfef8731a0dae3453593b68de9
* | | | If a rollback is attempted in journal_mode=off mode, force SQLite to discard ↵dan2011-01-11
| | | | | | | | | | | | | | | | | | | | the contents of the pager cache before processing any subsequent queries. FossilOrigin-Name: ece7efce2733b4fdd71db385abebbde464ac8f30
* | | | Update pager requirements to accound for the ZIPVFS extension.drh2011-01-10
| | | | | | | | | | | | FossilOrigin-Name: d94e59b514c16c5f7ea506e0af1c6e2ffecc13be
* | | | Reorder the fields in private structures in an effort to reduce alignmentdrh2011-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | gaps and thus make the structures smaller, and to put frequently accessed fields first. Also update some obsolete comments. Valgrind shows a very slight performance improvement. FossilOrigin-Name: 378a1d13af4a6f4cb2bfa65944b3b0d444b9f21c
* | | | Add the sqlite3_vsnprintf() interface.drh2011-01-05
| | | | | | | | | | | | FossilOrigin-Name: fc67adea414320e0c0b24054f76070cfaeebb401
* | | | Fix a null-pointer dereference that can occur on an OOM error while runningdrh2011-01-04
| | | | | | | | | | | | | | | | | | | | ANALYZE with SQLITE_ENABLE_STAT2. FossilOrigin-Name: 73128d4ef5d7703bf7af0553c307b55dc1b783f6
* | | | Fix the ANALYZE command so that it takes collating sequences into accountdrh2011-01-04
| | | | | | | | | | | | | | | | | | | | when gathering index statistics. FossilOrigin-Name: a5867cfc4c9b9155fa345247dec29e38fffa8002
* | | | The ANALYZE command now counts at all rows of an index, even those containingdrh2011-01-04
| | | | | | | | | | | | | | | | | | | | | | | | NULL values. A valid sqlite_stat1 entry is created even if the index contains nothing but NULLs. FossilOrigin-Name: 824c8dd3015bbd5c8a1dd661cfe09fe5bf7a80d3
* | | | Have testfixture invoke C routine Zipvfs_Init() when creating a new ↵dan2010-12-29
| | | | | | | | | | | | | | | | | | | | interpreter if SQLITE_ENABLE_ZIPVFS is defined. FossilOrigin-Name: 430635dacfa818e8266a88214aaf60c77862de1c
* | | | Fix some off-by-one errors in the comments for API functions ↵dan2010-12-29
| | | | | | | | | | | | | | | | | | | | create_function() and value_blob(). No changes to code or tests. FossilOrigin-Name: 7ded90baeb75db5af83345cd2c31211cbee1e91b
* | | | Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.drh2010-12-22
| | | | | | | | | | | | FossilOrigin-Name: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
* | | | Add test cases for the new lookaside hit and miss status outputs. Adddrh2010-12-21
| | | | | | | | | | | | | | | | | | | | the output of lookaside hit and miss to the command-line shell statistics. FossilOrigin-Name: b0888047bb6d9ac55e29b9224df2ff650728bb78
* | | | Merge into the trunk the experimental enhancements to sqlite3_db_status() drh2010-12-21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | for measuring lookaside memory allocator performance. FossilOrigin-Name: 8c3b06c299554759b67437e09ee7ef6420dacafc
| * | | | Add additional DBSTATUS options for measuring the hit and miss rates againstdrh2010-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the lookaside memory pool - information useful in tuning the lookaside size. Currently experimental pending analysis of performance impact. FossilOrigin-Name: 34613f1dc54c638531ca2f5907b71fbe8841233e
* | | | | Rearrange a variable declaration in the proxy locking code to avoid a harmlessdrh2010-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | compiler warning on recent MacOS versions. FossilOrigin-Name: 39bbd35599e735b32f7ed18143073165b805dd98
* | | | | Clarify the documentation of the SQLITE_STATUS_MALLOC_COUNT parameter todrh2010-12-20
|/ / / / | | | | | | | | | | | | | | | | sqlite3_status(). FossilOrigin-Name: 3b41bcc3e36a9ef0146bc2f6ae86377bd1700afd
* | | | Add the "-heap" option to the command-line shell - to allocate a fixed heapdrh2010-12-17
| | | | | | | | | | | | | | | | | | | | for use with SQLITE_ENABLE_MEMSYS5. FossilOrigin-Name: 74fff692345fed4b247e2b34c1e63b4d50cddfd4
* | | | Fix minor typos in the sqlite3_backup documentation.drh2010-12-17
| | | | | | | | | | | | FossilOrigin-Name: df430be59d0766a34a94ab85fec9aa3c3baeb740
* | | | Improvements to the documentation for sqlite3_backup. No code changes.drh2010-12-16
| | | | | | | | | | | | FossilOrigin-Name: f83609f4703b5e74a91bca071a4ac2843189f463
* | | | Fix an assertion fault that can only occur if SQLITE_ENABLE_STAT2 is defineddrh2010-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and the constant folding optimization is disabled using sqlite3_test_control(). Problem introduced by [ad8bc68197f2b4] but we missed it prior to the 3.7.4 release due to taking shortcuts and skipping tests in the release checklist. FossilOrigin-Name: 70a3d81742fcd481f83ccc8f7ff6af58bc29c4fa