Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
pager.c
ded1959
If blocking locks are enabled, avoid using the busy handler when blocked by another process running recovery.
by dan
· 7 weeks ago
58bc525
Reinstate the assert() removed by [0f6223b8]. Avoid holding a wal-mode write lock after the transaction has been rolled back if an IO error occurs while restarting the wal file.
by dan
· 5 months ago
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
65d0312
Check-in [da9124fee28c155c] broken the new SQLITE_IOCAP_SUBPAGE_READ mechanism
by drh
· 6 months ago
bd1a593
Changes for better alignment with the wal2 branch.
by drh
· 7 months ago
deb5ad6
Reorder conditions in sqlite3PagerDirectReadOk() for coverage.
by drh
· 9 months ago
96501c8
Rename to SQLITE_IOCAP_SUBPAGE_READ.
by drh
· 9 months ago
bypass-iocap
c8284c7
Add the SQLITE_IOCAP_BYPASS device characteristic. Do not allow the
by drh
· 9 months ago
a592883
Add extra assert() statements to the fixes on this branch.
by dan
· 1 year ago
alignment-fixes
b6d108f
Fix handling of the SQLITE_OMIT_WAL check in one place. Resolves [forum:87cc13302de160eb|forum post 87cc13302de160eb].
by stephan
· 1 year, 3 months ago
f5740f7
Adjust the sqlite3PagerDirectReadOk() routine (part of the
by drh
· 1 year, 7 months ago
09e6c82
Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac].
by stephan
· 1 year, 7 months ago
95cf958
Avoid harmless integer overflow in pager status statistics gathering.
by drh
· 1 year, 7 months ago
5a81e6e
Ensure 8-byte alignment of data structues in sqlite3_database_file_object().
by drh
· 1 year, 8 months ago
f3f0bd2
Add a cast to i64 for an integer in an sqlite3OsWrite() offset
by drh
· 1 year, 9 months ago
d2147bd
With SQLITE_ENABLE_BLOCK_ATOMIC_WRITE enabled, if a transaction is committing
by drh
· 1 year, 9 months ago
11095bc
When an I/O or similar error occurs during a transaction with
by drh
· 1 year, 9 months ago
5d9a6c6
Make sure the journal file is closed when transitioning into MEMORY journal
by drh
· 1 year, 9 months ago
6c96bf2
Avoid calling sqlite3_randomness and taking the PRNG mutex when writing a journal header in "journal_mode=memory" mode.
by dan
· 1 year, 9 months ago
ff96718
Merge all recent trunk enhancements into the wal-shm-exceptions branch.
by drh
· 2 years ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
2e4d526
Fix the pager such that if the xOpen() message sends back the SQLITE_OPEN_MEMORY
by drh
· 2 years, 1 month ago
55be216
Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].
by larrybr
· 2 years, 1 month ago
spell-check
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
28f32be
It turns out that pagerExclusiveLock() can be called with the lock state
by drh
· 2 years, 2 months ago
2c5c124
Do not remove pages from the cache of an in-memory database due to a
by drh
· 2 years, 3 months ago
ec0ed68
Fix ambiguity in the header comment to the sqlite3PagerUnrefNotNull() routine.
by drh
· 2 years, 3 months ago
d9ae631
Add pager debug tracing of truncate operations.
by drh
· 2 years, 3 months ago
5c84aaf
Fix compile time option SQLITE_DEFAULT_SYNCHRONOUS so that it works consistently.
by dan
· 2 years, 5 months ago
5db5c12
Remove an ALWAYS() that can be false in some very rare cases.
by drh
· 2 years, 6 months ago
989d0ce
Attempt to fix harmless compiler warnings that reportedly appear in clang 15.
by drh
· 2 years, 6 months ago
f648389
Suppress a harmless compiler warning.
by drh
· 2 years, 6 months ago
cf3107c
Databases created using sqlite3_deserialize() should report their filename
by drh
· 2 years, 8 months ago
ad617b4
Ensure the Pager.journalOff variable is zeroed if an error occurs while writing the initial header to the journal file.
by dan
· 2 years, 11 months ago
2756f80
Add assert() statements to verify that the SQLITE_OPEN_EXCLUSIVE flag is always passed to the VFS when opening a temporary file.
by dan
· 3 years ago
b2d7137
Back out the pager performance enhancement at [a1c090e08139f99d3], because it
by drh
· 3 years ago
16316f1
In the getNormalPage() routine of pager.c, consolidate pgno error checking
by drh
· 3 years, 1 month ago
bbf7113
Add missing SQLITE_FCNTL_SIZE_HINT call to a path taken during transaction rollback.
by dan
· 3 years, 1 month ago
e3994f2
The optimization at [ece326db50201937] is not quite right, so back it out
by drh
· 3 years, 5 months ago
90368c5
Increase the max_page_count on ROLLBACK, if necessary, so that it is sufficient
by drh
· 3 years, 5 months ago
eac750e
Defer the check for error check Pgno zero until after the page fetch misses,
by drh
· 3 years, 5 months ago
584bfca
Store the page number for the PENDING_BYTE page in the Pager object, rather
by drh
· 3 years, 5 months ago
e63b7bd
Generalize the in-memory journal so that it is able to accept writes that
by drh
· 3 years, 5 months ago
4ba1c5c
Fix an assert() in the pager by adding "|| CORRUPT_DB", in as much as the
by drh
· 3 years, 5 months ago
e2adc0e
When process first moves a database into WAL mode and then tries to run
by drh
· 3 years, 5 months ago
9f4ce3b
Writes to the subjournal should be all-or-nothing. Fix for
by drh
· 3 years, 5 months ago
5a6f818
Never allow the b-tree layers view of the number of pages in the database
by drh
· 3 years, 6 months ago
5622c7f
Add NEVER() macros to two branches that became unreachable due to
by drh
· 3 years, 6 months ago
bda4d20
Do not open a rollback journal file when the journal_mode is OFF, even if
by drh
· 3 years, 7 months ago
d0fa348
Improve formatting of an assert(). No functional changes.
by drh
· 3 years, 7 months ago
4ce289d
Fix an assert() in pager.c to avoid the possibility of side-effects.
by dan
· 3 years, 7 months ago
0f42f71
Fix an obscure problem with releasing savepoints stored in an in-memory journal that could cause subsequent savepoint rollback to fail.
by dan
· 3 years, 7 months ago
021e228
The pager now remembers when a VFS reports that a database file is
by drh
· 3 years, 9 months ago
da12536
Add NEVER() macros on branches that become unreachable due to the
by drh
· 3 years, 9 months ago
aa6fe5b
Fix harmless static analyzer warnings.
by drh
· 3 years, 10 months ago
e85e1da
Fix harmless compiler warnings.
by drh
· 3 years, 10 months ago
b01f138
Squelch needless narrowing warning.
by larrybr
· 3 years, 10 months ago
57dd7e6
Fix an incorrect comment and possible integer overflow in pager
by drh
· 3 years, 10 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
8d889af
Enable the sqlite3_serialize() and sqlite3_deserialize() interfaces by
by drh
· 4 years, 2 months ago
55938b5
Remove an ALWAYS() that might be false under very unusual circumstances.
by drh
· 4 years, 3 months ago
8119aab
Further improvements (subsequent to [d91450847a3a3a72]) to handling of attempts
by drh
· 4 years, 4 months ago
e3814ee
Fix an assert() that can be false when doing an incremental vacuum on a
by drh
· 4 years, 4 months ago
d5e7fff
Do not invoke the xDelete method when converting to PRAGMA journal_mode=OFF
by drh
· 4 years, 4 months ago
f43fef2
When a sub-transaction is released, if no pages required by containing sub-transactions were journaled, truncate the statement journal. This might prevent out-of-control statement journal growth in some cases.
by dan
· 4 years, 5 months ago
stmt-jrnl-truncate
f5c3a75
Fix a bug in OOM handling code introduced by [6a28713d].
by dan
· 4 years, 8 months ago
2e3cb13
Ensure that super-journal and other journal filenames passed by SQLite to an sqlite3_vfs.xOpen() implementation may be safely passed to sqlite3_uri_parameter() and similar functions.
by dan
· 4 years, 8 months ago
14d093f
Fix a harmless compiler warning.
by drh
· 5 years ago
8afc09d
Fix the check-in at [41474548ef3f7454] so that it computes the pointer in
by drh
· 5 years ago
c664355
Move a pointer computation until after OOM checks to avoid a nuisance USAN
by drh
· 5 years ago
abc3815
Continuing work toward supporting unsigned 32-bit page numbers.
by drh
· 5 years 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
ccb2113
Refactoring various names. No changes in the resulting machine code.
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
ab2172e
The new sqlite3_database_file_object() interface requires that the pager
by drh
· 5 years ago
480620c
Experimental API: sqlite3_database_file_object().
by drh
· 5 years ago
be284e4
Fix harmless compiler warnings from MSVC.
by drh
· 5 years ago
47a60d4
Extra zero terminators on the end of the blank filename returned by
by drh
· 5 years ago
4defddd
Add the new sqlite3_create_filename() and sqlite3_free_filename() interfaces
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
532b0d2
Revise the layout of filenames in the Pager object so that it is unchanged
by drh
· 5 years ago
f71eb20
Do not use memcpy() of zero bytes when initializing a pager. This avoids
by drh
· 6 years ago
cea7b5d
Add extra front margin to the fake empty filename returned by
by drh
· 6 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
fce8165
Ensure that the Pager.changeCountDone flag is cleared whenever dropping
by drh
· 6 years ago
7a1d7c3
Fix "PRAGMA data_version" so that it works the same way with locking_mode=PERSIST and journal_mode=PERSIST configured. Fix for 7a458c2a5f.
by dan
· 6 years ago
879f1a1
Fix a bad interaction between RBU and [df51ae19].
by dan
· 6 years ago
c398c65
Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the
by drh
· 6 years ago
dc96192
Ensure all file names passed to the VFS layer are double-zero terminated.
by mistachkin
· 6 years ago
3c90488
In the SQLITE_OPEN_NOFOLLOW processing, distinguish between an I/O error
by drh
· 6 years ago
0933aad
Add support for SQLITE_OPEN_NOFOLLOW.
by drh
· 6 years ago
d2c40e9
For for the previous check-in: Always enable the nUri variable, even
by drh
· 6 years ago
746461f
Ensure that the main filename and the journal filenames in the pager
by drh
· 6 years ago
aff0fd4
Add an "|| CORRUPT_DB" term to an assert() that might be false if the database
by drh
· 6 years ago
e22976c
Fix the SQLITE_DIRECT_OVERFLOW_READ compile-time option so that it works
by drh
· 6 years ago
5cb1ffc
Allocate a few extra bytes for the pager temp page as an overrun buffer while
by drh
· 6 years ago
Next »