Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
pcache.c
a592883
Add extra assert() statements to the fixes on this branch.
by dan
· 1 year ago
alignment-fixes
a2a4c3f
The pageOnDirtyList() assertion is too slow even for debugging builds, for
by drh
· 1 year, 11 months ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
f23adcb
Improved rebustness of the pcache tracing logic.
by drh
· 2 years, 3 months ago
4c0fca0
Fix a debugging printf() in pcache.c. This only comes up on custom builds.
by drh
· 2 years, 3 months ago
2ff6569
Increase the size of ref-count values in the pager layer to 64-bits, to avoid
by drh
· 2 years, 4 months ago
8c983dd
An improved technique for ensuring that the Rekey() operation does not
by drh
· 2 years, 11 months ago
5fc3a8a
If sqlite3PcacheMove() really performs a swap, then be sure to renumber the
by drh
· 2 years, 11 months ago
f0f025b
More assert() statements in the page cache.
by drh
· 2 years, 11 months ago
f6e3e31
Ensure that every pcache page always has either the PGHDR_DIRTY or the
by drh
· 2 years, 11 months ago
c63e409
Some branches are no longer reachable after the previous change. Mark them
by drh
· 3 years, 4 months ago
e7fae60
Fix slightly-incorrect assert() statements.
by drh
· 3 years, 5 months ago
e7e9539
Fix an assertion fault in pcache introduced by [4bc93658aa563f2f] and
by drh
· 3 years, 11 months ago
55f66b3
Add new assert() statements in an attempt to help static analyzers avoid
by drh
· 6 years ago
0ce974d
Adjust requirements marks and add new requirements tests.
by drh
· 6 years ago
0923675
Fix a problem reading from temp databases in SQLITE_DIRECT_OVERFLOW_READ builds.
by dan
· 7 years ago
5eaebf3
Comment typo fixed. No code changes.
by drh
· 7 years ago
58db4c7
Fix a typo causing SQLITE_LOG_CACHE_SPILL builds to fail.
by dan
· 7 years ago
9d9c41e
Remove unnecessary NEVER() and ALWAYS() conditionals.
by drh
· 8 years ago
dfcdc66
Remove an obsolete optimization in pcache that due to more recent changes
by drh
· 8 years ago
f0dae6d
Small size and performance improvement in pcacheManageDirtyList() by not
by drh
· 8 years ago
d879e3e
Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for
by drh
· 8 years ago
cbed604
In the pager, avoid checking for the illegal page number 0 except when creating
by drh
· 9 years ago
pager-get-method
a2ee589
Avoid unnecessary zeroing of fields in the MemPage object that are going
by drh
· 9 years ago
216b70f
Reduce the width of a memset() to avoid double-initializing some variables.
by drh
· 9 years ago
2380f3f
Fix typo in comment.
by mistachkin
· 9 years ago
b982bfe
Optimizations to link list merge sort code in vdbesort.c, pcache.c, and
by drh
· 9 years ago
3b02a07
Improvements to a comment in the pcache.c file. No changes to code.
by drh
· 9 years ago
a0f6b12
Remove the unused PGHDR_NEED_READ flag. Add invariant checking (during
by drh
· 9 years ago
7aeb216
Additional debugging and tracing logic for pcache.c, turned off by default
by drh
· 9 years ago
82c0447
Add extra OPTIMIZATION-IF-FALSE comments where required to pcache.c.
by dan
· 9 years ago
91ef8ad
For in-memory databases, it does not matter if pcache entries are marked
by drh
· 9 years ago
42bee5f
Remove an unnecessary call to sqlite3PcacheMakeClean() inside of the ROLLBACK
by drh
· 9 years ago
613723d
Add a missing OPTIMIZATION-IF-FALSE comment to pcache.c.
by dan
· 9 years ago
72e6a39
For in-memory databases, it does not matter if pcache entries are marked
by drh
· 9 years ago
pager-dev
401907e
Remove a redundant condition from pcache.c. Add an OPTIMIZATION-IF-TRUE comment to another condition that requires it.
by dan
· 9 years ago
b2ef900
Remove some a small amount of redundant code related to PCache.pSynced from pcache.c.
by dan
· 9 years ago
5c8e092
Add pcache tracing macros. Off by default. Requires changing an "#if 0"
by drh
· 9 years ago
b5895e5
sqlite3PCachePerecentDirty() should return 0 if the pcache is empty.
by drh
· 9 years ago
0f52455
On commit, flush dirty temp-file pages only if the file is already open and 25% or more of the cache is dirty.
by dan
· 9 years ago
41113b6
Defer opening the file used for the temp database (where CREATE TEMP TABLE tables are stored) until the database is too large to reside entirely within the cache. There are likely still problems on this branch.
by dan
· 9 years ago
fad3039
Enhance ability to debug out-of-memory errors.
by mistachkin
· 9 years ago
4f9c8ec
Test cases. Minor problems fixed. All appears to work now.
by drh
· 10 years ago
cache_spill=N
9b0cf34
First attempt at enhancing the "PRAGMA cache_spill" statement to accept a
by drh
· 10 years ago
95a0b37
Change the pcache module to keep track of the total number of references to
by drh
· 10 years ago
d8c0ba3
Optimization to the sqlite3PcacheFetch() logic.
by drh
· 10 years ago
1aacbdb
Add the PGHDR_WRITEABLE bit for PgHdr.flags which is used to
by drh
· 10 years ago
c78ae91
Add the new PGHDR_CLEAN bit to PgHdr.flags in pcache.c. This bit is always
by drh
· 10 years ago
39065c6
Simplify the pcache by not keeping continuous track of page 1 but instead
by drh
· 10 years ago
e0e8429
Remove all references to SQLITE_DEFAULT_TEMP_CACHE_SIZE. Add requirements
by drh
· 10 years ago
ea18142
Remove an unused preprocessor macro from pcache.c.
by drh
· 11 years ago
51dc84e
Make SQLITE_CONFIG_PCACHE_HDRSZ accurate (not an over-estimate) on 32-bit
by drh
· 11 years ago
37c057b
Round all object sizes that go into computing SQLITE_CONFIG_PCACHE_HDRSZ up
by drh
· 11 years ago
def6889
Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config().
by drh
· 11 years ago
907214c
Remove the EXPENSIVE_ASSERTS in pcache.c having to do with the pSynced field
by drh
· 11 years ago
36ce919
Small performance improvement to the dirty list handling in the pager.
by drh
· 11 years ago
60ec914
Fix typos in comments. No code changes.
by peter.d.reid
· 11 years ago
bc59ac0
Refactor the sqlite3PcacheFetch() routine into three separate routines,
by drh
· 11 years ago
c3031c6
Change the page cache so that a new sqlite3_pcache object is allocated as
by drh
· 11 years ago
a8dcba9
Combine the pcacheAddToDirtyList() and pcacheRemoveFromDirtyList() routines
by drh
· 11 years ago
fe21a79
Performance optimizations in sqlite3PcacheFetch().
by drh
· 11 years ago
5dc2bcd
Make sure large negative arguments to PRAGMA cache_size do not cause
by drh
· 14 years ago
09419b4
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma.
by drh
· 14 years ago
3b42abb
A negative value N for the cache_size pragma adjusts the number of cache
by drh
· 14 years ago
e5c40b1
Update the API documentation for the new pcache2 interface. Change the
by drh
· 14 years ago
22e21ff
Experimental change to the pcache interface to allow page buffers to be allocated separately from their associated container structures.
by dan
· 14 years ago
c97125e
Print a log message on each cache spill if compiled with SQLITE_LOG_CACHE_SPILL.
by drh
· 14 years ago
f759bb8
Further updates to the sqlite3_pcache_methods documentation, plus the addition
by drh
· 15 years ago
026e598
Store the MemPage structure in memory following, instead of preceding, the page data for cached pages. This reduces the likelihood of a corrupt database page image causing SQLite to read past the end of a buffer.
by dan
· 15 years ago
f3609ee
Put an ALWAYS() around a condition in pcache.c that must always be true in
by drh
· 15 years ago
2ec050c
When TEMP files are in memory, also put the massive TEMP file used by
by drh
· 15 years ago
a963896
Fix a performance glitch that appears for large transactions.
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
750e87d
Add files that should have gone in with the previous checkin. (CVS 6935)
by danielk1977
· 16 years ago
89bc4bc
Change getAndInitPage() (btree.c) to use only PagerAcquire(), not PagerLookup() and PagerAcquire(). (CVS 6916)
by danielk1977
· 16 years ago
e64ca7b
Code simplifications and comment improvements in support of structural
by drh
· 16 years ago
8711c7d
Remove two unused lines from pcache.c. (CVS 6415)
by drh
· 16 years ago
e1fd508
Optimization: When loading a new page into the cache, avoid redundant memset() calls to zero it. (CVS 6201)
by danielk1977
· 16 years ago
bea2a94
Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197)
by danielk1977
· 17 years ago
45d6882
Revert (6187). (CVS 6188)
by danielk1977
· 17 years ago
443c059
This commit is an error. Reverted by (6188). (CVS 6187)
by danielk1977
· 17 years ago
3d4501e
Replace the VDBE Fifo object with the new RowSet object. (CVS 5977)
by drh
· 17 years ago
f3d3c27
Fix some compiler warnings that show up when building the amalgamation only. (CVS 5927)
by danielk1977
· 17 years ago
bc2ca9e
Add an API to support custom page cache implementations. (CVS 5899)
by danielk1977
· 17 years ago
95338ab
Remove some asserts that refer to variables removed in (5830). (CVS 5884)
by danielk1977
· 17 years ago
4d01aee
When an assignment occurs in a boolean, always test the result using "!=0"
by drh
· 17 years ago
b317538
Add "pragma journal_mode=memory". Change the way rollback works for in-memory databases so that it reuses the journal_mode=memory code. (CVS 5830)
by danielk1977
· 17 years ago
71d5d2c
Instead of storing a pointer to the parent page in the MemPage structure, have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747)
by danielk1977
· 17 years ago
0afae93
Fix some function declarations (change "int foo()" to "int foo(void)"). Ticket #3399. (CVS 5740)
by danielk1977
· 17 years ago
0db8ac4
Give file scope to non-API routines in pcache. Ticket #3392. (CVS 5727)
by drh
· 17 years ago
eaa06f6
Avoid parsing the structure of b-tree pages (in sqlite3BtreeInitPage) more than is necessary. (CVS 5720)
by danielk1977
· 17 years ago
b3df2e1
Speed improvements for in-memory databases by omitting flag clearing on pages
by drh
· 17 years ago
e598bb4
Add a type identifier to argument sz to sqlite3PageMalloc() in pcache.c. Ticket #3383. (CVS 5713)
by danielk1977
· 17 years ago
b5774cf
Adjust the page recycling algorithm so that the number of pages allocated
by drh
· 17 years ago
5b77529
Modify pcache.c to work with OMIT_WSD. (CVS 5659)
by danielk1977
· 17 years ago
075c23a
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
by danielk1977
· 17 years ago
062d4cb
If a page is made eligible for recycling when more than the configured maximum number of pages are allocated, free it immediately instead of adding it to the LRU list. (CVS 5638)
by danielk1977
· 17 years ago
570f5c7
Partial fix for a bug in recovery from xStress failures in pcache. (CVS 5635)
by drh
· 17 years ago
29e2d6a
Fix mutex related bug in pcache.c to do with handling IO errors. (CVS 5632)
by danielk1977
· 17 years ago
f599a19
Enable the disabled asserts added by (5629). Add extra tests to thread003.test. And the required modifications to pcache.c. (CVS 5631)
by danielk1977
· 17 years ago
Next »