Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
pcache.h
2ff6569
Increase the size of ref-count values in the pager layer to 64-bits, to avoid
by drh
· 2 years, 4 months ago
0923675
Fix a problem reading from temp databases in SQLITE_DIRECT_OVERFLOW_READ builds.
by dan
· 7 years ago
f0dae6d
Small size and performance improvement in pcacheManageDirtyList() by not
by drh
· 8 years ago
02f18cc
Reorder fields in the PgHdr object for a performance increase.
by drh
· 8 years ago
a0f6b12
Remove the unused PGHDR_NEED_READ flag. Add invariant checking (during
by drh
· 9 years ago
72e6a39
For in-memory databases, it does not matter if pcache entries are marked
by drh
· 9 years ago
pager-dev
6bcfe8b
Add a function prototype in order to fix a compiler warning.
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
d6f7c97
If a single page is written to the wal file more than once, have each subsequent copy overwrite the original frame.
by dan
· 10 years ago
9b0cf34
First attempt at enhancing the "PRAGMA cache_spill" statement to accept a
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
def6889
Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config().
by drh
· 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
b2d3de3
Use mmap() to read from the database file in rollback mode. This branch is unix only for now.
by dan
· 12 years ago
a451017
Data structure cleanup. Remove unused fields. Rearrange other files for
by drh
· 13 years ago
09419b4
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma.
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
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
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
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
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
419fcf6
Conditionally omit prototypes in pcache.h when the corresponding routines
by drh
· 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
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
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
a85f7e3
Miscellaneous cleanup in the new pcache code. (CVS 5629)
by drh
· 17 years ago
a1fa00d
Use a bitvec object to store the set of pages with the 'always-rollback' property for a transaction. (CVS 5622)
by danielk1977
· 17 years ago
d491e1b
Simplify the pcache module by only recycling clean pages from 'other' caches. This commit causes errors in test files ioerr5.test and malloc5.test because they test recycling dirty pages from other caches. (CVS 5615)
by danielk1977
· 17 years ago
33e3216
Instead of marking a page as clean when sqlite3PagerDontWrite() is called, set a dedictated flag - PGHDR_DONT_WRITE. (CVS 5604)
by danielk1977
· 17 years ago
a858aa2
When recycling a page, try to find one that does not require a call to xSync() on the journal file. Also simplify some of the mutex related things in pcache. (CVS 5597)
by danielk1977
· 17 years ago
777c538
Move date+time functions to start-time initialization. Additional
by drh
· 17 years ago
67e3da7
Fix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_limit(). It is automatically disabled if the SQLITE_CONFIG_PAGECACHE option is used. (CVS 5576)
by danielk1977
· 17 years ago
8c0a791
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
by danielk1977
· 17 years ago