/ Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

51 check-ins using file src/test_journal.c version 0537fcf9

2010-05-03
14:08
Merge the write-ahead-logging changes into the trunk. check-in: de9ae443 user: drh tags: trunk
14:05
If the sqlite3_wal_checkpoint() API is passed a NULL pointer in place of a database name, attempt to checkpoint all attached databases. Closed-Leaf check-in: 27a5c09c user: dan tags: wal
13:37
Make sure the mutex is held while calling sqlite3ApiExit() in sqlite3_wal_checkpoint(). Other cleanup of WAL logic. check-in: 11a85b82 user: drh tags: wal
12:14
Have sqlite3_wal_checkpoint() populate the database handle error message and error code (as returned by sqlite3_errmsg() and sqlite3_errcode()). check-in: ff234cf5 user: dan tags: wal
11:05
Add the "PRAGMA wal_autocheckpoint" command. Rename "PRAGMA checkpoint" to "PRAGMA wal_checkpoint". check-in: 714e5947 user: dan tags: wal
08:19
Merge two wal leaves. check-in: 23c0e6c3 user: dan tags: wal
08:04
Add the sqlite3_wal_checkpoint() and sqlite3_wal_autocheckpoint() APIs. check-in: 9803196d user: dan tags: wal
2010-05-01
20:17
Change the SHM interface so that it does not take the name of the shared object but rather the name of the WAL file and derives its own name from that. Remove the xShmDelete method from the VFS and replace it with a delete flag on xShmClose. check-in: 94dea5f9 user: drh tags: wal
18:23
Remove the xShmPush and xShmPull methods from the VFS. check-in: 69e07fdb user: drh tags: wal
17:57
Define an invariant to guarantee deadlock-free operation of SHM in os_unix.c and check that invariant with assert() statements. check-in: 6af2dca7 user: drh tags: wal
17:50
Rework mutexes on the SHM implemention for os_unix to avoid a deadlock during WAL recovery. check-in: 1a0f69be user: drh tags: wal
16:40
Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. check-in: 9b230c43 user: dan tags: wal
11:33
Fix a typo in the walmode.test test script introducted yesterday. check-in: dcabc90c user: drh tags: wal
11:19
Fix the sqlite3_mutex_alloc() interface to return NULL (not segfault) when operating in threadsafe mode. (This is a general-purpose bug fix which really ought to be ported to trunk.) check-in: 64840a3c user: drh tags: wal
08:30
Add test case demonstrating deadlock during recovery of very large log files. No fix yet. check-in: 63ea318e user: dan tags: wal
00:59
Do not allow journal_mode=WAL if the underlying VFS does not support xShmOpen. check-in: d1fcccec user: drh tags: wal
2010-04-30
22:28
Merge in changes from the trunk. check-in: 76bf0eee user: drh tags: wal
17:47
Change the SHM VFS logic in os_unix.c so that it does not hold an exclusive lock n the mapped memory when also holding a CHECKPOINT lock. This improves concurrency between readers and checkpointers. check-in: 8660cda6 user: drh tags: wal
17:28
Remove some obsolete debugging parameters. check-in: a012aed4 user: drh tags: wal
17:05
Fix a problem with resizing the wal-index mapping after the mapping has been extended by an external process. check-in: 79d356fe user: dan tags: wal
16:50
Fix a problem with calculating the required size of the wal-index when appending frames. check-in: 9526b111 user: dan tags: wal
16:48
In the debugging output for SHM-LOCK in os_unix.c, use symbolic names for the lock states rather than raw numbers. check-in: 2afc33de user: drh tags: wal
16:41
Fix a problem in the previous commit. Both unixShm.lockState and unixShm.readLock should be set to READ when downgrading from a WRITE to a READ lock check-in: 90119fec user: dan tags: wal
16:38
Fix a bug whereby upgrading from a READ_FULL to a WRITE lock, and then back to a read lock was dropping all WAL locks. check-in: 55f5af5e user: dan tags: wal
16:24
Reapply commits [837d82a929] and [c05e7dca17] that were accidentally overwritten. check-in: 598de527 user: dan tags: wal
16:19
Add xShmXXX() methods to the test VFS in test_devsym.test. check-in: 1d203424 user: dan tags: wal
16:12
Correctly record the fact that the SHM lock reached PENDING if it did so but failed to reach CHECKPOINT. check-in: d9250e84 user: drh tags: wal
15:54
Fix a couple uninitialized variables in the xShmLock method of the unix VFS. Improved debugging logic for xShmLock. check-in: 69567c5f user: drh tags: wal
15:49
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. check-in: c05e7dca user: dan tags: wal
15:24
If a reader attempts to upgrade to a writer, but is not reading the most recent database snapshot, return SQLITE_BUSY. check-in: 837d82a9 user: dan tags: wal
14:39
Separate the concepts of underlying storage size and mapped size in the VFS shared-memory implementation. check-in: 4cbe49f1 user: drh tags: wal
11:43
Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT. check-in: 1f9e8c5c user: dan tags: wal
10:24
Fix an assert() in sqlite3WalRead(). check-in: 2e7a0050 user: dan tags: wal
10:06
Add missing mutexes to unixShmClose(). check-in: a4741cb5 user: dan tags: wal
09:52
Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo(). check-in: a8f958be user: dan tags: wal
09:32
Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen(). check-in: 72b95fde user: dan tags: wal
06:02
Merge latest bugfix into wal branch. check-in: 265e66e6 user: dan tags: wal
02:13
The first 6 WAL tests now work. It's a start. check-in: a92c1851 user: drh tags: wal
2010-04-29
22:34
Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. check-in: 62db5fa3 user: drh tags: wal
16:40
Untested implementation of the shared-memory dead-man-switch. check-in: 70661128 user: drh tags: wal
15:17
Progress towards a VFS that will support WAL. Locking code is in place but is untested. Still no support for the DMS. check-in: 1bde41cf user: drh tags: wal
14:58
Close all open database connections at the end of wal.test. check-in: 3cc55a75 user: dan tags: wal
14:51
Fix a bug in the WAL checkpoint code causing SQLite to use an inconsistent cache in a subsequent transaction. check-in: d1cadeed user: dan tags: wal
08:47
Add tests to walthread.test. check-in: 9e891e75 user: dan tags: wal
2010-04-28
18:17
Add a test to walthread.test for changing between WAL and rollback modes. check-in: da229e44 user: dan tags: wal
17:49
Merge two "wal" leaves. check-in: 13d2d5a6 user: dan tags: wal
17:48
Change walthread.test so that tests can be run with either multiple threads or multiple processes. check-in: 25f85f68 user: dan tags: wal
17:21
Changes to the interface design for the xShmLock method of the VFS. check-in: 348409de user: drh tags: wal
14:42
Rename the sqlite3_log_hook() to sqlite3_wal_hook(). Added comments to wal.h. check-in: bbc38511 user: drh tags: wal
2010-04-27
18:49
Merge two "wal" leaves. check-in: 8c2d43ba user: dan tags: wal
11:49
Add the xShmRelease() method to the VFS. The os_unix.c implementation of the shared memory logic is still non-functional. check-in: ed715b47 user: drh tags: wal