Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
pager.h
bd1a593
Changes for better alignment with the wal2 branch.
by drh
· 7 months ago
95cf958
Avoid harmless integer overflow in pager status statistics gathering.
by drh
· 1 year, 7 months ago
ba481c3
ifdef adjustments so that SQLITE_OMIT_WAL works with SQLITE_USE_SEH.
by drh
· 1 year, 11 months ago
ff96718
Merge all recent trunk enhancements into the wal-shm-exceptions branch.
by drh
· 2 years ago
584bfca
Store the page number for the PENDING_BYTE page in the Pager object, rather
by drh
· 3 years, 5 months ago
9023444
If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS error code available via sqlite3_system_errno().
by dan
· 3 years, 10 months ago
e9261db
Initial changes to allow database up to 281TB in size.
by drh
· 5 years ago
067b92b
Extend the refactoring into extensions. Clean up stray newlines.
by drh
· 5 years ago
861fb1e
Block on the WRITER lock when attempting to run recovery.
by dan
· 5 years ago
58021b2
Unless upgrading an existing read transaction, have ENABLE_SETLK_TIMEOUT builds attempt to use a blocking lock when opening a write transaction on a wal mode database.
by dan
· 5 years ago
8714de9
Changes to avoid deadlock in SQLITE_ENABLE_SETLK_TIMEOUT builds.
by dan
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
8080403
Redesign for better legacy compatibility. Add the sqlite3_uri_key() interface.
by drh
· 6 years ago
8875b9e
Rearchitect the way in which filenames are stored in the Pager object so that
by drh
· 6 years ago
746a151
Remove the sqlite3PagerUseWal() routine which was made obsolete by
by drh
· 7 years ago
0923675
Fix a problem reading from temp databases in SQLITE_DIRECT_OVERFLOW_READ builds.
by dan
· 7 years ago
fa3d4c1
Allow sqlite3_snapshot_open() to be called to change the snapshot after a
by dan
· 7 years ago
exp-snapshot-open
fd72563
Avoid a race condition that might cause a busy_timeout to last longer than
by drh
· 7 years ago
8026289
Refactor some internal object element names used by the busy handler, to
by drh
· 7 years ago
3908fe9
Add the new sqlite3PagerUnrefPageOne() pager method to deal with the special
by drh
· 8 years ago
d930b5c
Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page
by drh
· 8 years ago
1158498
Add experimental sqlite3_snapshot_recover() API.
by dan
· 9 years ago
e24452e
Avoid using the "direct overflow read" optimization to read large blobs if the
by dan
· 9 years ago
7fb8990
Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called.
by dan
· 9 years ago
43c1ce3
Undo commit [f250166bb]. It is required to handle IO and other errors that occur within a VACUUM of a Zipvfs database.
by dan
· 9 years ago
43f58d6
Fix various internal #defines to conform to new C-language naming restrictions,
by drh
· 9 years ago
d20b2a4
Remove the sqlite3PagerClearCache() routine, which does not accomplish anything
by drh
· 9 years ago
4971160
Add the SF_HasAgg constant (currently unused). Also enhance the comments on
by drh
· 9 years ago
b052958
Remove code not needed now that synchronous=OFF database files no longer
by drh
· 9 years ago
6841b1c
Add "PRAGMA synchronous=EXTRA" which syncs the directory containing the
by drh
· 9 years ago
21d6185
Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining
by drh
· 10 years ago
fc1acf3
Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free().
by dan
· 10 years ago
790f287
Add the SQLITE_FCNTL_VFS_POINTER file control which obtains a pointer to
by drh
· 10 years ago
9b0cf34
First attempt at enhancing the "PRAGMA cache_spill" statement to accept a
by drh
· 10 years ago
9584f58
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former
by drh
· 10 years ago
6fa255f
Add experimental API sqlite3_db_cacheflush().
by dan
· 10 years ago
58cb6db
Take care that the number of reserved bits per page is consistent between
by drh
· 10 years ago
e05b3f8
Simplification of PRAGMA integrity_check logic. Make sure that the depth
by drh
· 10 years ago
9161856
Experimental "PRAGMA data_version" command for detecting when another process
by drh
· 11 years ago
e6593d8
Fix some minor formatting and code organization issues.
by dan
· 11 years ago
33ea486
Change the balance_nonroot() routine to reduce the amount of memcpy work that takes place. This is a work in progress.
by dan
· 11 years ago
da8a330
Create and use a new pager interface sqlite3PagerUnrefNotNull() that works
by drh
· 12 years ago
999cd08
Modify the way some internal file-controls are invoked. In order to support multi-file transactions in the zipvfs extension.
by dan
· 12 years ago
b00fc3b
Simplify the btreeGetPage() routine so that it uses a single flag parameter
by drh
· 12 years ago
40c3941
Add the cache_spill pragma.
by drh
· 12 years ago
0d0614b
Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be
by drh
· 12 years ago
a1afc74
Fix a case in the pager where an xFetch() reference was being leaked following an OOM error.
by dan
· 12 years ago
f23da96
Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch.
by dan
· 12 years ago
99bd109
Allow the database file to be memory mapped in wal mode.
by dan
· 12 years ago
eb97b29
When possible, use memory mapping when appending new pages to a database file.
by dan
· 12 years ago
11dcd11
Allow read-only cursors to use mmap pages even if there is an open write transaction.
by dan
· 12 years ago
06a2d82
Move a couple of WAL-related function declarations in sqliteInt.h and pager.h into "#ifndef SQLITE_OMIT_WAL" blocks. Otherwise, the amalgamation fails to build using some compilers with SQLITE_OMIT_WAL (static function declared but not defined).
by dan
· 13 years ago
c9a5326
Ensure that the value returned by xSectorSize() is reasonable (currently defined as between 2^5 and 2^16 bytes) before using it to calculate the amount of padding to add to a wal file.
by dan
· 13 years ago
d4e0bb0
Have user interfaces report out the filename of in-memory databases as an
by drh
· 13 years ago
shared-cache-memdb
7070860
Add #ifdef SQLITE_ENABLE_ZIPVFS around those bits of code that are only
by drh
· 13 years ago
b3bdc72
Add the sqlite3PagerWalFramesize() function to pager.c. This is used by zipvfs.
by dan
· 13 years ago
33f111d
Remove the undocumented PRAGMA omit_readlock hack.
by drh
· 14 years ago
09419b4
Add the sqlite3_db_release_memory() interface and the shrink_memory pragma.
by drh
· 14 years ago
1a83bc5
If an error occurs while writing to the database file during a VACUUM, discard the contents of the in-memory cache. This is required as if the database is a zipvfs database, the contents of the cache may be inconsistent with respect to the database as stored on disk.
by dan
· 14 years ago
58ca31c
Add the SQLITE_DB_STATUS_CACHE_HIT and MISS options. For querying the number of cache hits and misses on a per-connection basis.
by dan
· 14 years ago
73ac46d
Remove a stray merge-sort related change from pager.c and pager.h.
by dan
· 14 years ago
34163c6
Remove some dead code. Fix a faulty assert(). Improve some variable names.
by drh
· 14 years ago
2a5d990
Create a new pager type, PAGER_SORTER, for use in the external merge sort.
by drh
· 14 years ago
27f9aba
Merge the checkpoint_fullfsync pragma and the superlock demonstration into
by drh
· 15 years ago
blocking-checkpoint
c97d846
Add the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint
by drh
· 15 years ago
cdc1f04
Modify the interface to the blocking wal-checkpoint functionality.
by dan
· 15 years ago
a58f26f
Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file.
by dan
· 15 years ago
75c014c
Remove the sqlite3BtreeFactor() wrapper routine. All modules now call
by drh
· 15 years ago
8fb8b53
Change sqlite3PagerPagecount() to return void, since the return value was
by drh
· 15 years ago
b2eced5
Increase the maximum page size from 32k to 64k.
by drh
· 15 years ago
abfb62f
Cherry-pick the multi-file transaction fix for ticket [f3e5abed55] out of
by drh
· 15 years ago
a715211
Disable code used only by the codec when the codec is not deployed.
by drh
· 15 years ago
47ee386
Add codec support to wal mode.
by dan
· 15 years ago
0b9b430
Refactor and simplify the logic used to change journalmode.
by drh
· 15 years ago
d9e5c4f
Refactoring the VFS-SHM methods used by WAL. This version compiles and
by drh
· 15 years ago
7ed91f2
Refactor wal.c to use the VFS. This check-in compiles and links and works
by drh
· 15 years ago
e04dc88
Use the read and write version fields of the database header to mark a database as operating in wal-mode.
by dan
· 15 years ago
8d22a17
Add the sqlite3_log_hook() interface for scheduling checkpoints.
by dan
· 15 years ago
f05c86d
Remove old code to interpret an argument (no longer used) to "PRAGMA checkpoint".
by dan
· 15 years ago
7c24610
Import experimental write-ahead-logging code.
by dan
· 15 years ago
63da089
Add the SQLITE_DBSTATUS_CACHE_SIZE verb for sqlite3_db_status(). The
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
4775ecd
Further simplifications to pager.c in support of structural coverage testing. (CVS 6929)
by drh
· 16 years ago
89bc4bc
Change getAndInitPage() (btree.c) to use only PagerAcquire(), not PagerLookup() and PagerAcquire(). (CVS 6916)
by danielk1977
· 16 years ago
fa9601a
Move codec management from database connections into the pager so that it
by drh
· 16 years ago
d829335
When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825. (CVS 6575)
by danielk1977
· 16 years ago
0410302
Commit first version of the 'backup' feature. (CVS 6241)
by danielk1977
· 16 years ago
64beba4
Avoid a segfault when running vacuum on an in-memory database. Ticket #3620. (CVS 6221)
by danielk1977
· 16 years ago
dc86e2b
Fix some minor compiler warnings. Added sqlite3Isalpha() for use in
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
f90b726
Fix for 'truncate file' operations on in-memory databases. (CVS 6131)
by danielk1977
· 17 years ago
1c8781f
Fix compiler warnings. (CVS 6117)
by drh
· 17 years ago
49b9d33
Fix compiler warnings in pager.c (CVS 6102)
by drh
· 17 years ago
3460d19
Fix a problem with savepoint and incremental-vacuum. (CVS 6066)
by danielk1977
· 17 years ago
fd7f045
Add the savepoint feature. This feature is largely untested at this point. (CVS 6036)
by danielk1977
· 17 years ago
f49661a
Add explicit casts to silence nuisance warnings from VC++. (CVS 6004)
by drh
· 17 years ago
1ceedd3
Simplify the way the pager layer invokes the busy-handler callback. (CVS 5922)
by danielk1977
· 17 years ago
Next »