๐ AIๆ็ดข & ไปฃ็
๐
ไธป้กต
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/wal
/
src
/
wal.c
2d536e1
Change the SHM interface so that it does not take the name of the shared
by drh
ยท 16 years ago
5cf5353
Support compile-time option SQLITE_OMIT_WAL, for building without WAL support.
by dan
ยท 16 years ago
fe05aa1
Fix a problem with resizing the wal-index mapping after the mapping has been extended by an external process.
by dan
ยท 16 years ago
c9d53db
Fix a problem with calculating the required size of the wal-index when appending frames.
by dan
ยท 16 years ago
30c8629
Reapply commits [837d82a929] and [c05e7dca17] that were accidentally overwritten.
by dan
ยท 16 years ago
49156b2
Correctly record the fact that the SHM lock reached PENDING if it did so
by drh
ยท 16 years ago
a7ad518
When closing a WAL connection, attempt an exclusive lock on the database file. If the lock is obtained, checkpoint the database and delete the wal and wal-index files.
by dan
ยท 16 years ago
6045461
If a reader attempts to upgrade to a writer, but is not reading the most recent database snapshot, return SQLITE_BUSY.
by dan
ยท 16 years ago
5530b76
Separate the concepts of underlying storage size and mapped size in the
by drh
ยท 16 years ago
87bfb51
Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT.
by dan
ยท 16 years ago
1bc6171
Fix an assert() in sqlite3WalRead().
by dan
ยท 16 years ago
4c97b53
Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo().
by dan
ยท 16 years ago
ba51590
Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen().
by dan
ยท 16 years ago
79e6c78
The first 6 WAL tests now work. It's a start.
by drh
ยท 16 years ago
7ed91f2
Refactor wal.c to use the VFS. This check-in compiles and links and works
by drh
ยท 16 years ago
31c0390
Fix a but in the WAL checkpoint code causing SQLite to use an inconsistent cache in a subsequent transaction.
by dan
ยท 16 years ago
5e0ce87
Change walthread.test so that tests can be run with either multiple threads or multiple processes.
by dan
ยท 16 years ago
4b64c1e
Merge two "wal" leaves.
by dan
ยท 16 years ago
31f98fc
Fix a problem that occurs when one process causes the log-summary file to grow and then a second process attempts to read the database.
by dan
ยท 16 years ago
4cd78b4
Fixes for problems with small caches and SAVEPOINT rollback in WAL mode.
by dan
ยท 16 years ago
cd11fb2
Add mutexes to fix a race condition in wal.c. This isn't a very good fix.
by dan
ยท 16 years ago
c438efd
Change the names of the log.c and log.h source files to wal.c and wal.h.
by drh
ยท 16 years ago
[Renamed (98%) from src/log.c]
56d9591
Add comment explaining checksum mechanism.
by dan
ยท 16 years ago
74d6cd8
Fix bugs in WAL mode rollback.
by dan
ยท 16 years ago
ff20701
Reserve some space at the start of the log-summary file to apply locks to.
by dan
ยท 16 years ago
3306c4a
Fixes and tests for backup of a WAL database.
by dan
ยท 16 years ago
ce4f05f
Create a version of the log checksummer that works on big-endian platforms. Remove the 512KB size limit on the log-summary.
by dan
ยท 16 years ago
b978002
Tests for (and changes to) the code to switch between WAL and rollback modes.
by dan
ยท 16 years ago
8d22a17
Add the sqlite3_log_hook() interface for scheduling checkpoints.
by dan
ยท 16 years ago
54934f4
Add some comments regarding file-locks to log.c.
by dan
ยท 16 years ago
c511878
Do not sync any files in wal mode if "PRAGMA synchronous=off" is set. If files are synced, pass either SQLITE_SYNC_FULL or SQLITE_SYNC_NORMAL to the xSync() callback as configured by "PRAGMA fullfsync".
by dan
ยท 16 years ago
6703239
In synchronous=normal mode, do not sync the log after every transaction. In synchronous=full mode, sync the log and add any extra frames required to avoid blast-radius related problems after each transaction.
by dan
ยท 16 years ago
3de777f
Enhancements to wal-mode locking scheme.
by dan
ยท 16 years ago
97a3135
Change the log file format to include a small (12 byte) header at the start of the file.
by dan
ยท 16 years ago
4a4b01d
Fix bug in log recovery (last frame in log was being ignored). Also remove an incorrect assert statement.
by dan
ยท 16 years ago
bb2e9c9
Merge two leaves on the WAL branch.
by dan
ยท 16 years ago
39c79f5
Change the way checksums are calculated.
by dan
ยท 16 years ago
49320f8
Add tests and fix bugs in WAL locking mechanism.
by dan
ยท 16 years ago
e264d98
Add tests to check inter-process WAL locking.
by dan
ยท 16 years ago
02bb596
Improve the logLockRegion() function in log.c.
by dan
ยท 16 years ago
b9bf16b
Fixes for locking issues in WAL mode.
by dan
ยท 16 years ago
64d039e
Add experimental locking scheme.
by dan
ยท 16 years ago
7c24610
Import experimental write-ahead-logging code.
by dan
ยท 16 years ago