summaryrefslogtreecommitdiff
path: root/src/pcache.c
AgeCommit message (Expand)AuthorLines
2024-07-17Add extra assert() statements to the fixes on this branch.dan-0/+1
2023-08-23The pageOnDirtyList() assertion is too slow even for debugging builds, fordrh-2/+12
2023-06-07Add a C-source spell-checking facility. make misspell (on Nix)larrybr-2/+2
2023-04-19Improved rebustness of the pcache tracing logic.drh-7/+10
2023-04-19Fix a debugging printf() in pcache.c. This only comes up on custom builds.drh-1/+1
2023-03-19Increase the size of ref-count values in the pager layer to 64-bits, to avoiddrh-4/+4
2022-09-07An improved technique for ensuring that the Rekey() operation does notdrh-6/+6
2022-09-02If sqlite3PcacheMove() really performs a swap, then be sure to renumber thedrh-0/+9
2022-08-27More assert() statements in the page cache.drh-2/+19
2022-08-27Ensure that every pcache page always has either the PGHDR_DIRTY or thedrh-12/+23
2022-03-21Some branches are no longer reachable after the previous change. Mark themdrh-2/+1
2022-03-01Fix slightly-incorrect assert() statements.drh-1/+2
2021-09-03Fix an assertion fault in pcache introduced by [4bc93658aa563f2f] anddrh-1/+4
2019-07-16Add new assert() statements in an attempt to help static analyzers avoiddrh-0/+1
2019-06-12Adjust requirements marks and add new requirements tests.drh-3/+4
2018-11-22Fix a problem reading from temp databases in SQLITE_DIRECT_OVERFLOW_READdan-0/+9
2018-09-21Comment typo fixed. No code changes.drh-1/+1
2018-03-12Fix a typo causing SQLITE_LOG_CACHE_SPILL builds to fail.dan-1/+1
2017-10-31Remove unnecessary NEVER() and ALWAYS() conditionals.drh-10/+9
2017-09-01Remove an obsolete optimization in pcache that due to more recent changesdrh-5/+1
2017-09-01Small size and performance improvement in pcacheManageDirtyList() by notdrh-4/+1
2017-02-13Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" fordrh-1/+1
2016-12-13In the pager, avoid checking for the illegal page number 0 except when creatingdrh-2/+1
2016-12-09Avoid unnecessary zeroing of fields in the MemPage object that are goingdrh-1/+8
2016-10-01Reduce the width of a memset() to avoid double-initializing some variables.drh-1/+1
2016-05-20Fix typo in comment.mistachkin-1/+1
2016-05-20Optimizations to link list merge sort code in vdbesort.c, pcache.c, anddrh-9/+12
2016-05-13Improvements to a comment in the pcache.c file. No changes to code.drh-0/+7
2016-05-13Remove the unused PGHDR_NEED_READ flag. Add invariant checking (duringdrh-3/+58
2016-05-13Additional debugging and tracing logic for pcache.c, turned off by defaultdrh-2/+32
2016-05-12Add extra OPTIMIZATION-IF-FALSE comments where required to pcache.c.dan-3/+6
2016-05-12For in-memory databases, it does not matter if pcache entries are markeddrh-1/+7
2016-05-12Remove an unnecessary call to sqlite3PcacheMakeClean() inside of the ROLLBACKdrh-1/+1
2016-05-12Add a missing OPTIMIZATION-IF-FALSE comment to pcache.c.dan-1/+9
2016-05-11For in-memory databases, it does not matter if pcache entries are markeddrh-1/+7
2016-05-11Remove a redundant condition from pcache.c. Add an OPTIMIZATION-IF-TRUE comme...dan-2/+8
2016-05-11Remove some a small amount of redundant code related to PCache.pSynced from p...dan-6/+22
2016-05-11Add pcache tracing macros. Off by default. Requires changing an "#if 0"drh-1/+27
2016-04-18sqlite3PCachePerecentDirty() should return 0 if the pcache is empty.drh-1/+1
2016-04-13On commit, flush dirty temp-file pages only if the file is already open and 2...dan-0/+11
2016-04-05Defer opening the file used for the temp database (where CREATE TEMP TABLE ta...dan-2/+13
2016-02-13Enhance ability to debug out-of-memory errors.mistachkin-2/+2
2015-11-12Test cases. Minor problems fixed. All appears to work now.drh-1/+1
2015-11-12First attempt at enhancing the "PRAGMA cache_spill" statement to accept adrh-26/+46
2015-09-03Change the pcache module to keep track of the total number of references todrh-13/+14
2015-06-30Optimization to the sqlite3PcacheFetch() logic.drh-2/+2
2015-06-29Add the PGHDR_WRITEABLE bit for PgHdr.flags which is used to drh-1/+1
2015-06-29Add the new PGHDR_CLEAN bit to PgHdr.flags in pcache.c. This bit is alwaysdrh-5/+11
2015-06-26Simplify the pcache by not keeping continuous track of page 1 but insteaddrh-14/+8
2015-02-27Remove all references to SQLITE_DEFAULT_TEMP_CACHE_SIZE. Add requirementsdrh-1/+9