summaryrefslogtreecommitdiff
path: root/src/pcache1.c
AgeCommit message (Expand)AuthorLines
2026-10-24Change the order of fields in an internal structure to avoid the possibility ...dan-17/+45
2026-08-11Avoid integer divides in the remaining pcache1 hash-bucket computations, exte...jeffchen-9/+13
2026-08-05Avoid an integer divide on the page-cache lookup fast path. The hashjeffchen-2/+5
2026-06-04Fix a crash that could be caused by configuring the pager-cache with a bulk a...dan-16/+18
2025-03-05Use AtomicRead() and AtomicWrite() to access the pcache1_g.bUnderPressuredrh-8/+4
2025-02-17Code changes that make it easier to prove that no 32-bit integer overflowsdrh-4/+4
2024-07-17Add extra assert() statements to the fixes on this branch.dan-0/+2
2024-07-13Fixes for platforms with 32-bit pointers that require 64-bit values to be ali...dan-2/+2
2023-06-07Add a C-source spell-checking facility. make misspell (on Nix)larrybr-49/+49
2022-09-07Enhance an assert() to impose for tighter constraints on the operation of pca...drh-1/+1
2022-09-07An improved technique for ensuring that the Rekey() operation does notdrh-17/+2
2022-09-02Enhance the pcache1 implementation so that during an xRekey operation ifdrh-7/+22
2022-08-31Enhance the b-tree page sorting code to ensure that sqlite3PagerRekey() neverdrh-1/+4
2022-08-30Improved comments in pcache1.c. No changes to code.drh-11/+16
2022-08-09Omit the (undocumented) SQLITE_PCACHE_SEPARATE_HEADER compile-time option.drh-28/+16
2021-08-09Fix a compiler warning in pcache1. Reduce the maximum size of a pcache1drh-4/+7
2021-08-09Ensure that the pcache1 cache size does not get so big that it overflowsdrh-1/+4
2021-02-28Initialize extra field in PgHdr1 to fix an msan complaint.dan-0/+1
2019-12-13Patch to the page cache to avoid harmless pointer arithmetic that due to bugsdrh-1/+3
2019-07-16Add new assert() statements in an attempt to help static analyzers avoiddrh-0/+1
2019-07-04Fix a race condition that could occur in SQLITE_ENABLE_MEMORY_MANAGEMENT buil...dan-1/+1
2019-04-14Fix an obsolete comment and other minor issues from code inspection.drh-3/+1
2019-02-06Ensure all bytes of the PgHdr1 structure are initialized. This avoids a valgr...dan-2/+13
2019-01-09Adjustments to the page cache to try to avoid harmless TSAN warnings.drh-2/+2
2018-12-14Back out the expansion of the temporary buffer size fromdrh-1/+1
2018-12-14Expand the size of the temporary page used during btree rebalancing by adrh-1/+4
2018-12-03Remove two lines of unnecessary code, for a very small performance increasedrh-3/+6
2018-11-28Follow-up to [0bf0fd242b93c3bd30]: only reset the pager when adding adrh-1/+2
2017-08-30Small performance optimization in pcache1.drh-12/+14
2017-08-28Avoid unnecessary mutexes in the pcache1 implementation in the common casedrh-0/+1
2017-08-05Microoptimization in pcache1.c makes the code slightly smaller and faster.drh-18/+17
2017-03-29Slightly smaller and faster implementation of pcache1InitBulk().drh-3/+2
2017-03-29Fix the sqlite3_release_memory() interface so that it works even ifdrh-1/+1
2016-10-13Take care to avoid integer overflow when doing the initial page cachedrh-1/+1
2016-08-10Tweaks to pcache1TruncateUnsafe() to make it slightly smaller and faster anddrh-6/+6
2016-08-10Fix pcache1TruncateUnsafe() run faster for the case where iLimit isdrh-7/+27
2016-04-26The pcache and the built-in VFSes should not use mutexes whendrh-2/+2
2016-03-17Fix harmless compiler warnings that arise with -DSQLITE_OMIT_LOAD_EXTENSIONdrh-5/+7
2015-12-16Make greater use of the SQLITE_WITHIN macro.drh-1/+1
2015-11-26The first argument to SQLITE_CONFIG_PAGECACHE, SQLITE_CONFIG_SCRATCH, anddrh-1/+1
2015-10-15Change sqlite3StatusSet() into sqlite3StatusHighwater() so that only thedrh-2/+2
2015-09-19Fix compiler warnings.drh-2/+2
2015-09-10Fix a potential NULL pointer deref in the testing logic of pcache1.drh-1/+1
2015-09-09Fix a possible NULL pointer deref when using SQLITE_ENABLE_MEMORY_MANAGEMENT.drh-1/+2
2015-09-04Simplification of the LRU list handling in pcache1.drh-45/+46
2015-09-03Change the pcache module to keep track of the total number of references todrh-1/+4
2015-09-01Reduce the number of calls to sqlite3BeginBenignMalloc().drh-4/+4
2015-08-21Fix typo in comment. No changes to code.drh-1/+1
2015-07-16Fix harmless compiler warnings.drh-4/+4
2015-07-16Defer the bulk pcache1 memory allocation until the first page allocationdrh-35/+56