/ Timeline
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

200 most recent check-ins using file test/soak.test version d9d0a5e5

2010-11-19
04:22
Lemon: Fixed compiler warning on Visual C++. Closed-Leaf check-in: 892c5f37 user: icculus tags: lemon-update-2010
04:19
Lemon: correcting previous win32 access() fix.    The previous fix caused link errors when compiled as C++. check-in: bd03d333 user: icculus tags: lemon-update-2010
03:55
Lemon: Patched to compile with Visual Studio. check-in: 0b945101 user: icculus tags: lemon-update-2010
2010-10-02
01:01
Backport the very lastest R-Tree in order to take advantage of its enhanced robustness to corrupt databases. Leaf check-in: 29a681dd user: drh tags: apple-osx-3623
01:00
Fix the amalgamation builder so that it works with the rtree updates of the prior check-in. Leaf check-in: 265b0b29 user: drh tags: branch-3.6.23
2010-10-01
20:45
Backport the RTree implementation from the trunk into the 3.6.23 branch. The code for the application-defined query boxes is still present but is disabled. The reason for this backport is to take advantage of recent enhancements to robustness to database corruption. check-in: 854b23c1 user: drh tags: branch-3.6.23
2010-08-24
12:05
Pull the incremental_vacuum bug fix ([255f1eefa373153942c67b18b]) and the R-tree segfault bug fix ([7f2f71cc9e3c39093f09231f44]) into the 3.6.23 branch. Increase the version number to 3.6.23.3. check-in: bcbdecd8 user: drh tags: branch-3.6.23
02:10
Cherrypick the R-tree invalid shadow-table big fix of [7f2f71cc9e3c39093f09231f44] into the apple-osx 3.6.23 branch. check-in: 68103d91 user: drh tags: apple-osx-3623
01:59
Cherrypick the incremental_vacuum bug fix ([255f1eefa373153942c67b18b]) into the apple-osx 3.6.23 branch. check-in: 60f16838 user: drh tags: apple-osx-3623
2010-08-17
23:13
Cherrypick the changes for enhancement requests [e090183531fc27474] (use indices on LIKE with no wildcards) and [4711020446da7d93d993] (use nocase index for LIKE even if the column is binary) into the 3.6.23.1 release of the Apple-OSX branch. check-in: 220cca50 user: drh tags: apple-osx-3623
2010-06-16
19:48
Merge in changes up to and including the 3.6.23.1 release. check-in: 21ca87f6 user: drh tags: apple-osx
2010-06-07
06:11
Add a couple of extra coverage tests for wal.c. check-in: cfe60254 user: dan tags: trunk
2010-06-05
19:18
Add further test cases for the logic in sqlite3WalBeginReadTransaction(). check-in: a49713db user: dan tags: trunk
18:34
Clarify the purpose of a test for a race-condition in sqlite3WalBeginReadTransaction(). check-in: c041c6a9 user: dan tags: trunk
18:12
Remove a condition from sqlite3WalRead() that is unreachable as of the changes to clear entries out of the wal-index hash tables on transaction or savepoint rollback. check-in: 39420473 user: dan tags: trunk
14:42
Mark a condition in wal.c as ALWAYS(). check-in: 3fe0cc78 user: dan tags: trunk
11:53
Add extra coverage test cases for wal.c. No changes to production code. check-in: f9d4ae0e user: dan tags: trunk
2010-06-04
18:38
Clarify an assert in sqlite3WalExclusiveMode(). check-in: 25585069 user: dan tags: trunk
17:16
Remove an unnecessary branch from wal.c. check-in: 8e54786c user: dan tags: trunk
15:59
Add an English language error message to corresponding to SQLITE_PROTOCOL. "locking protocol". check-in: ca327e32 user: dan tags: trunk
12:22
Add test for the code that detects an inconsistent pair of wal-index headers to wal2.test. check-in: 157feba1 user: dan tags: trunk
11:56
If an attempt to sync the database file as part of a checkpoint fails, do not update the shared "nBackfill" variable. Otherwise, another process could wrap the log and overwrite content before it is synced into the database. check-in: b813233d user: dan tags: trunk
10:37
Fix a problem where an SQLITE_BUSY in the checkpoint code was being treated as an IO error (abandoning, instead of just limiting, the checkpoint). check-in: 02c4040c user: dan tags: trunk
2010-06-03
19:10
Fix another problem in test_vfs.c. check-in: df7d5989 user: dan tags: trunk
18:20
Have test_vfs.c simulate IO errors in xShmLock. check-in: fcbf7cf1 user: dan tags: trunk
18:02
Performance fix for winShmClose(). check-in: ed7774de user: drh tags: trunk
16:58
Add extra tests for removing elements from wal-index hash tables as part of a rollback. check-in: af3e598a user: dan tags: trunk
12:35
Delay opening the sub-journal until SQLite actually needs to write data to it. check-in: c43deb33 user: dan tags: trunk
12:09
Remove global variables when compiled with SQLITE_OMIT_WSD check-in: dd10a547 user: drh tags: trunk
09:25
Enhancements to test_vfs.c and walfault.test. check-in: ac0de2f3 user: dan tags: trunk
09:17
If an error (OOM or SQLITE_FULL error) occurs while executing an SQL statement and a statement-transaction is automatically rolled back as a result, if a second error occurs during the statement rollback do a full transaction rollback instead. Otherwise the client can be left with an inconsistent cache. This can affect both WAL and rollback modes. check-in: eb80ddc6 user: dan tags: trunk
09:01
If a malloc fails while allocating a savepoint object at the pager level, do not try to roll that savepoint back later on. check-in: 91cb08ff user: dan tags: trunk
2010-06-02
20:38
When a lock fails due to an I/O error (not an SQLITE_BUSY) then the checkpoint should fail. check-in: c6eb0a27 user: drh tags: trunk
18:59
Fix a problem with rolling back to a savepoint opened before the writer decided to wrap the log file. check-in: 6b4aed6a user: dan tags: trunk
17:15
If an error occurs while writing frames to the log to commit a transaction, do not mark the pages as clean in the cache. Otherwise, the subsequent rollback does not roll them back (leaving the client to continue with a cache that makes it appear that the transaction was committed - inconsistent with the database on disk). check-in: cb571c1b user: dan tags: trunk
16:40
Added implementation of vfslog_time() for Windows testing. check-in: b3109f85 user: shaneh tags: trunk
16:39
Updated wal2.test for windows testing. check-in: c3606f39 user: shaneh tags: trunk
15:59
Make sure the directory used by os_unix.c for shared-memory files is always the same, regardless of individual client permissions and environment variable settings. check-in: f97bd520 user: drh tags: trunk
15:43
When walTryBeginRead() encounters an I/O error trying to set a lock (as opposed to SQLITE_BUSY) be sure to propagate that error back up the call stack. check-in: aa2c2b67 user: drh tags: trunk
14:45
Changes to make WAL more robust against SHM locking failures and OOM errors. check-in: ebf40413 user: drh tags: trunk
14:43
In the rowhash.test, make sure global variables are cleared prior to use. check-in: 28efe0a4 user: drh tags: trunk
12:58
Undo one of the "const" markers from the previous check-in because the value needs to be changable, even if it is not actually ever changed in the current implementation. check-in: c24ac356 user: drh tags: trunk
05:53
Add some 'const' markers to static data that is really constant. check-in: e7073e23 user: dan tags: trunk
2010-06-01
21:02
The shared-memory used by WAL on linux now really is shared memory in /dev/shm. On other unix flavors, the file is in a temporary directory rather than in the same directory as the database. check-in: fc18c4aa user: drh tags: trunk
19:15
Changes to the way faults are injected into xShmXXX VFS calls. check-in: 716d99f3 user: dan tags: trunk
17:46
Change the OOM and IO error test cases in walfault.test so that each test case runs both types of error simulation. check-in: b627e153 user: dan tags: trunk
15:44
Delay the decision to restart the log file until data is actually ready to be written to the log file (instead of at the start of a write transaction). check-in: b1abfaaf user: dan tags: trunk
15:24
The incremental checkpoint feature is not perfect yet, but it is working well enough to merge it into the trunk. check-in: 1d3e569e user: drh tags: trunk
14:30
Merge with [15abbc3416]. Closed-Leaf check-in: f4b9003a user: dan tags: wal-incr-ckpt
14:12
If an attempt to get a read-lock on the WAL fails with SQLITE_BUSY_RECOVER, call the busy-handler at the btree level. check-in: ce644965 user: dan tags: wal-incr-ckpt
13:17
Fix a bug introduced by the previous check-in but only seen if SQLITE_ENABLE_EXPENSIVE_ASSERTS is turned on. check-in: 9c9ec899 user: drh tags: wal-incr-ckpt
12:58
Fix an off-by-one boundary-value issue in walCleanupHash(). check-in: f039552e user: drh tags: wal-incr-ckpt
11:08
Do not hold the shared-memory mutex in os_unix.c if returning NULL. check-in: 9622dd46 user: dan tags: wal-incr-ckpt
10:44
If the checkpoint fails to obtain an exclusive lock on one of the read-lock bytes, do not consider this an error. check-in: 9e95e357 user: dan tags: wal-incr-ckpt
07:51
Fixes to the test cases in wal2.test. check-in: cd5fbcbc user: dan tags: wal-incr-ckpt
01:08
Comment edits and cleanup in wal.c. No functional code changes. check-in: e8e666ab user: drh tags: wal-incr-ckpt
00:28
Attempt to get the filectrl.test script running. check-in: e46a8f2b user: drh tags: wal-incr-ckpt
00:03
Fix os_unix.c so that it will compile and build on a Mac. check-in: bc707c83 user: drh tags: wal-incr-ckpt
2010-05-31
20:28
Fix issues with locking_mode=EXCLUSIVE in WAL. check-in: 8deba0ce user: drh tags: wal-incr-ckpt
18:24
Add an "isInit" field in the wal-index header that must be non-zero for a valid header. Use this to detect an uninitialized wal-index. check-in: a16fde19 user: drh tags: wal-incr-ckpt
16:56
Fix an inconsistent #ifdef in wal.c. Fix os_unix.c so that it does not allow moving an SHM lock directly exclusive to shared without going through unlocked. check-in: 552658da user: drh tags: wal-incr-ckpt
16:41
Avoid dropping the checkpoint lock after a recovery run as a precursor to a checkpoint operation. check-in: cc25cfa0 user: dan tags: wal-incr-ckpt
16:17
Zero the checkpoint header as the last step of successful WAL recovery. Avoid an unnecessary lock/unlock in WalBeginReadTransaction. check-in: db3509c5 user: dan tags: wal-incr-ckpt
16:10
Get the new xShmLock interface design working on os_win.c. check-in: 149a7082 user: drh tags: wal-incr-ckpt
14:39
Make sure WAL alway requests enough shared-memory space. check-in: 138f1283 user: drh tags: wal-incr-ckpt
14:28
Remove the tests that enable tracing based on the existance of the "vdbe_*" files when in SQLITE_DEBUG mode. check-in: cdbb4e7c user: drh tags: wal-incr-ckpt
14:18
Update another test case in wal.test. check-in: 99fde69e user: dan tags: wal-incr-ckpt
13:11
Change WAL test cases to account for the improved concurrency in the new checkpoint logic. check-in: 2d6f2485 user: drh tags: wal-incr-ckpt
12:30
Do not fail a checkpoint just because active readers prevent backfill. check-in: 9aa4243e user: drh tags: wal-incr-ckpt
12:15
Add WALTRACE() macros to help with debugging and analysis. check-in: 765c3318 user: drh tags: wal-incr-ckpt
12:02
Another minor fix to checkpoint on the WAL branch. check-in: 853f1e3f user: dan tags: wal-incr-ckpt
11:39
Fix a bug in checkpoint introduced by [181ceb32ea]. check-in: b499dbc8 user: dan tags: wal-incr-ckpt
11:16
Fix some asserts and other things in the new WAL branch. check-in: 181ceb32 user: dan tags: wal-incr-ckpt
06:38
Changes to the way one of the WAL/OOM tests works. check-in: 15abbc34 user: dan tags: trunk
01:41
WAL runs but quickly deadlocks. check-in: ace58acb user: drh tags: wal-incr-ckpt
2010-05-30
19:55
Initial code for incremental checkpoint in WAL mode. This check-in compiles on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. check-in: ef3ba7a1 user: drh tags: wal-incr-ckpt
2010-05-29
08:40
Add tests to fkey2.test to check that ON CONFLICT clauses do not affect SQLite's behaviour when an FK constraint is violated. check-in: e9e5b100 user: dan tags: trunk
06:18
Minor changes to checksum related test cases. check-in: 60c22bde user: dan tags: trunk
2010-05-28
11:16
Add a test to walcksum.test to stress the checksum calculation. check-in: 778d0c17 user: dan tags: trunk
2010-05-26
17:31
Make sure the wal-index mapping is always large enough to cover the entire active area of the wal-index. check-in: 42705bab user: drh tags: trunk
15:06
Change the semantics of xShmGet() such that it will never increase the size of shared memory. xShmSize() must be used to grow the size of shared memory. A shared memory segment size cannot be shrunk (except by dropping it). check-in: 72de0073 user: drh tags: trunk
2010-05-25
15:53
Updated header comments in wal.c. No functional code changes. check-in: 687632a6 user: drh tags: trunk
15:23
Add a busy-handler to a test case in walthread.test to prevent errors. check-in: d3d348aa user: dan tags: trunk
13:49
Modify walcrash2.test so that it works with DEFAULT_AUTOVACUUM=1. check-in: 77438882 user: dan tags: trunk
13:40
Update header comments in wal.c to correctly describe the WAL file format. Update the locking region offsets in os_unix.c and os_win.c and add assert() statement to verify that the locking region offsets are correct. check-in: 40030c07 user: drh tags: trunk
10:50
If a writer exits unexpectedly in the middle of a transaction, have the following writer remove any wal-index hash-table entries left by the interrupted transaction. check-in: ed77556a user: dan tags: trunk
02:24
Remove unreachable code associated with WAL from the pager. check-in: 54c1718e user: drh tags: trunk
2010-05-24
20:27
OOM errors during an auto-checkpoint are benign. check-in: 3d252ce5 user: drh tags: trunk
20:24
Remove the walmode.test case from the inmemory_journal test of permutations.test. check-in: 27ba9c21 user: drh tags: trunk
17:00
Fix the wal2.test script so that it works in auto_vacuum mode. check-in: 6a818afb user: drh tags: trunk
13:57
Change the checksum used in WAL files so that each frames checksum depends on the content of the WAL header and all frame headers and content up to and including the frame to which the checksum is attached. check-in: 8a53f12c user: dan tags: trunk
13:28
Make sure a WAL frame of all zeros is detected as an invalid frame. check-in: 02d99ad4 user: drh tags: trunk
12:34
Fix up test_osinst.c to work with SQLITE_OMIT_VIRTUALTABLE. check-in: 51fd3815 user: drh tags: trunk
10:39
Change the WAL file format to support two kinds of checksums - one that is fast to calculate on little-endian architectures and another that is fast on big-endian architectures. A flag in the wal-header indicates which the file uses. check-in: 65ba804d user: dan tags: trunk
2010-05-22
08:22
Add a couple of missing methods to test_osinst.c.. check-in: 5c9e9c06 user: dan tags: trunk
00:55
Add several EXPENSIVE_ASSERT code blocks to validate the wal-index hash table. Fix the bugs that these code blocks fine. Rename walClearHash() to walCleanupHash() and simplify its interface. check-in: 7aade899 user: drh tags: trunk
2010-05-21
19:15
Fix another bug in walClearHash(). check-in: 40f80ffe user: dan tags: trunk
18:24
Comment out the SQLITE_FCNTL_SIZE_HINT from os_unix.c since it does not seem to provide any performance gain there. check-in: 7d01309d user: drh tags: trunk
16:23
Correct an off-by-one bug in the previous commit. check-in: 75a1130d user: dan tags: trunk
15:31
Remove entries from wal-index hash tables when a rollback or savepoint rollback occurs. check-in: 36795c2b user: dan tags: trunk
13:16
Fix the wal-index header read routine so that it correctly detects a zero header as being malformed and in need of a wal-index rebuild. check-in: 1a4eb3a3 user: drh tags: trunk
2010-05-20
23:51
Add a new xShmBarrier method to the VFS - a shared-memory fence operation. Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. check-in: 1bd011c9 user: drh tags: trunk
21:21
Make use of the extra information in the WAL header and frame header to enhance robustness. check-in: 9580ecb7 user: drh tags: trunk
16:45
Convert the wal-header and frame-header to 24 bytes. Extra information in both headers is designed to enhance robustness after crashes, though the extra information is currently unused. This is a snapshot of a work in progress. check-in: 66970643 user: drh tags: trunk
2010-05-19
23:41
Merge WIN32 WAL support into trunk. Still some issues with locking to resolve. check-in: 43377663 user: shaneh tags: trunk
22:09
Cherry-pick the SQLITE_FCNTL_SIZE_HINT patch (check-in [2b7e3b4a30d6a7c4a8] and bump the version number to 3.6.23.2. check-in: 776679af user: drh tags: branch-3.6.23
20:30
Disable the corruptE test which SQLITE_OVERSIZE_CELL_CHECK is enabled. This is a cherrypick merge from check-in [1dc4f9fe9b83467ba]. check-in: a40d080c user: drh tags: branch-3.6.23
19:39
Add the SQLITE_FCNTL_SIZE_HINT to the os_win.c VFS. check-in: 9894118d user: drh tags: trunk
19:26
Add the SQLITE_FCNTL_SIZE_HINT operator to sqlite3_file_control() and use it to give the VFS hints about the ultimate size of a database file when the file is growing. check-in: 2b7e3b4a user: drh tags: trunk
19:09
Fix a bug in the new checkpoint computation. Also update the checkpoint algorithm in the test scripts to align with the new implementation. check-in: 8b6056f2 user: drh tags: trunk
18:08
Revise the checksumming algorithm in wal.c. More variable refactoring. check-in: 542b90eb user: drh tags: trunk
17:49
Refactoring some variable names in wal.c. check-in: 1d201ff5 user: drh tags: trunk
01:53
Add a large comment to wal.c describing the WAL and wal-index file formats. check-in: a71a22b5 user: drh tags: trunk
2010-05-18
23:29
Update the wal-index hash format so that hash-table space is reused following a rollback, thus preventing hash table overflows. Add assert()s to verify that hash tables do not overfill. Further refactoring of the wal-index code. check-in: ada9a8c7 user: drh tags: trunk
18:01
Refactoring of the WalIterator implementation. check-in: b5b60fdc user: drh tags: trunk
13:27
Mark the shared-memory in the WAL implementation as volatile. check-in: 0a678790 user: drh tags: trunk
12:56
Comment clarifications in wal.c. check-in: a029be10 user: drh tags: trunk
2010-05-17
20:16
Remove an unreachable test from wal.c. check-in: 7162c456 user: drh tags: trunk
2010-05-15
10:24
Add a note to the documentation of sqlite3_wal_hook() to say not to return SQLITE_ROW or SQLITE_DONE. Or any other value that is not a valid SQLite error code. check-in: 2f0b6cbf user: dan tags: trunk
01:09
Silently ignore errors trying to set the default journal_mode while doing an ATTACH. check-in: b9af4ad2 user: drh tags: trunk
2010-05-14
20:15
Fix a typo that (by bad luck) was not a syntax error but which caused some important lines of code to be skipped when SQLITE_DEBUG was not used. check-in: 9ef99d97 user: drh tags: trunk
19:24
Make sure the value of an INTEGER PRIMARY KEY column supplied to triggers and especially to FK constraints really contains the ROWID and not the NULL that is stored in the column itself. Ticket [dd08e5a988d00dec]. check-in: 636f8609 user: drh tags: trunk
16:34
Pull in all the latest changes from the trunk. Update the win32 SHM methods to work with the new interface design. Closed-Leaf check-in: 4b69f2cd user: drh tags: wal-win32
14:52
Simplifications to the SHM implementation in os_unix.c, taking advantage of the removal of the LinuxThreads mess. check-in: d1debe5d user: drh tags: trunk
12:43
Simplify os_unix.c by removing support for LinuxThreads. Linux systems must either use NPTL or else not share database connections across threads. check-in: e294b696 user: drh tags: trunk
11:30
Change the OSTRACEn() macro to OSTRACE(()). Also rename some internal fields and variables in os_unix.c to be more meaningful and searchable. check-in: 5fe529f2 user: drh tags: trunk
10:43
Fix test_osinst.c so that it does not depend on gettimeofday() unless SQLITE_OS_UNIX is defined and NO_GETTOD is not defined. check-in: 2a4014b7 user: dan tags: trunk
08:39
Add xShmXXX methods to test_osinst.c. check-in: b8a9b37a user: dan tags: trunk
2010-05-13
20:19
Make debugging elements of the sqlite3_mutex object volatile and make them only appear when compiling with SQLITE_DEBUG. Ticket [51914f6acd2cb462]. check-in: e823c60c user: drh tags: trunk
15:44
Allow sqlite3WalCheckpoint() to be called even if the WAL is in the SQLITE_SHM_READ state, as sometimes happens after an error. check-in: 175b296f user: drh tags: trunk
09:40
Remerge mistaken test_osinst.c changes. check-in: e8c10d3c user: dan tags: trunk
09:32
Fix mistake in test_osinst.c. Closed-Leaf check-in: 4c3e1378 user: dan tags: mistake
09:11
Make sure xShmGet is never called while already holding the shared-memory segment. check-in: 92ebdbc5 user: drh tags: trunk
08:53
The refactored of VFS SHM primitives are now working so merge the wal-refactor branch back into the trunk. check-in: bce21c18 user: drh tags: trunk
08:33
Change the xShmSize() implementation in os_unix.c so that it will only increase and never decrease the size of a shared-memory segment. Closed-Leaf check-in: 149d2ae4 user: drh tags: wal-refactor
07:08
Fix for a segfault that can follow a malloc failure. check-in: 3cab9022 user: dan tags: wal-refactor
06:19
Modify the VFS in test_vfs.c to match the refactoring of the xShmXXX methods. check-in: 25e72f81 user: dan tags: wal-refactor
2010-05-12
19:02
(Moved to the mistake branch due to compile errors in test_osinst.c.) Change the vfs instrumentation code in test_osinst.c to make it easier to deploy. Add a vtab implementation for reading the binary log file format. check-in: ee13c884 user: dan tags: mistake
18:30
Fix for the test_devsym.c test module for the VFS-SHM refactoring. check-in: 49d62933 user: drh tags: wal-refactor
18:10
A couple simple fixes to get wal.test mostly working. check-in: c7445812 user: drh tags: wal-refactor
18:01
Refactoring the VFS-SHM methods used by WAL. This version compiles and runs non-WAL test cases but crashes and burns on wal.test. check-in: 2b00152c user: drh tags: wal-refactor
17:14
Updates to WAL support in os_win.c: pulled in latest changes from src/os_unix.c; updated tracing; misc. improvements. check-in: 76504726 user: shaneh tags: wal-win32
13:50
Remove the OP_Variable optimization of check-in [48b77b04935d894] since it can lead to malfunctions as described in ticket [26ff0c82d1e90]. check-in: 7838163d user: drh tags: trunk
06:54
Remove a branch made redundant by the earlier exclusive-mode changes. check-in: c501b2ed user: dan tags: trunk
2010-05-11
16:29
Have os_unix.c use the suffix "-wal-index" for wal-index files instead of "-wal-inde". check-in: 885e854e user: dan tags: trunk
14:00
When an attempt to change journal_mode fails due to locks, be sure to leave internal structures in a consistent state. check-in: cf3d1e0b user: drh tags: trunk
12:19
Changes so that WAL and exclusive-locking mode work together. check-in: 71e7b1cf user: dan tags: trunk
02:49
Initial port of WAL VFS support from os_unix.c to os_win.c. check-in: 111ad59f user: shaneh tags: wal-win32
02:46
Updates to WAL TCL test scripts to support running on Windows. check-in: 6a563080 user: shaneh tags: trunk
2010-05-10
19:51
Fix an off-by-one error while constructing the name of the mmap file for the wal-index under os_unix.c. check-in: 6e3735f7 user: drh tags: trunk
18:10
Merge [96d6eaf4d2] and [40b0a6357b]. check-in: c67756c4 user: dan tags: trunk
17:29
Fix an uninitialized variable in OSX proxy locking. check-in: 96d6eaf4 user: drh tags: trunk
14:46
Modify the format of the wal-index to use a hash table to index log file segments. check-in: 40b0a635 user: dan tags: trunk
14:10
If an ATTACH command fails due to OP_JournalMode but still attaches the database, make sure VACUUM still detaches it when done. check-in: 6ecdc7ba user: drh tags: trunk
11:20
Enhance the OP_JournalMode opcode with an ignore-errors option and use that option the ATTACH command. check-in: 0bdea4cf user: drh tags: trunk
2010-05-07
20:34
When running a checkpoint while in locking_mode=EXCLUSIVE, be sure to move the wal-index lock to UNLOCK from READ prior to promoting to CHECKPOINT. check-in: be114bdf user: drh tags: trunk
20:02
Change the xShmOpen() method of the VFS to take the database file name as its argument, not the WAL file name. Also fix some unrelated compiler warnings. check-in: a65c2939 user: drh tags: trunk
18:23
Additional tweaks to API documentation. No functional code changes. check-in: e1230782 user: drh tags: trunk
13:57
Updates to documentation on the C interfaces supporting WAL. No functional changes to code. check-in: 681ba20c user: drh tags: trunk
13:52
Fix a recently introduced problem in wal.test. check-in: 79b52d0f user: dan tags: trunk
12:49
Change wal.test and walhook.test so that they work with DEFAULT_AUTOVACUUM=1 builds. check-in: 4cde9290 user: dan tags: trunk
09:43
Test another IO error case in wal.c. check-in: 8b3b5ab8 user: dan tags: trunk
06:59
Fix a problem with checkpointing large log files created by an external process. check-in: 8f94bde5 user: dan tags: trunk
05:46
Since walIndexTryHdr() can no longer encounter any error conditions, change tehe function signature so that it does not return an error code. This removes unreachable branches from other code. check-in: 061a282c user: dan tags: trunk
00:28
Another attempt to fix permutations.test so that it excludes WAL tests from the journaltest permutation. check-in: 58c40442 user: drh tags: trunk
2010-05-06
22:21
Remove savepoint6.test from the set of tests run by journaltest since savepoint6.test uses journal_mode=WAL. check-in: 811b45a9 user: drh tags: trunk
21:37
The PRAGMA journal_mode=WAL; command now makes WAL the default journal mode for new databases added with ATTACH, so the behavior is consistent with the other journal modes. check-in: c3520460 user: drh tags: trunk
20:19
Make sure to do a clean shutdown of the library upon existing the shell in order to remove WAL files. check-in: c1762dda user: drh tags: trunk
19:55
Exclude all WAL tests from the journaltest permutation. check-in: 46c97d7e user: drh tags: trunk
19:20
Changes to support SQLITE_OMIT_WAL. check-in: 32a8501d user: shaneh tags: trunk
19:04
Updates to the VFS SHM locking documentation. check-in: 9927ce42 user: drh tags: trunk
18:48
Instead of transitioning to RECOVER state from CHECKPOINT when a recovery is required, perform the recovery while holding the CHECKPOINT lock. check-in: bb0b6021 user: dan tags: trunk
18:27
If recovery is run before a checkpoint, change back to a CHECKPOINT lock before performing the actual checkpoint. check-in: dc98ee16 user: dan tags: trunk
18:04
Only pass -1 as the size parameter to xShmGet when the caller does not care what size mapping is returned. Only call xShmSize when the underlying allocation (not the mapping) should be resized. check-in: 637f51dd user: dan tags: trunk
17:28
Fix a bug whereby an old snapshot could be checkpointed (and subsequent transactions discarded) if the last connection to disconnect from a WAL database happended to be holding an out-of-date wal-index header. check-in: d0c0034b user: dan tags: trunk
16:06
After throwing an error to say that one cannot change into WAL mode within a tranactions, do not then go and change into WAL mode. check-in: 56a17dae user: drh tags: trunk
15:56
Further coverage tests. check-in: 98a9713e user: dan tags: trunk
15:36
Update configure scripts for WAL support. check-in: 2edc5129 user: shaneh tags: trunk
14:42
Add tests to cover a couple of branches in wal.c. check-in: 429f437f user: dan tags: trunk
13:36
Unset a tcl variable before reusing it in wal.test. check-in: e83efb23 user: dan tags: trunk
12:15
Add tests for some lock-contention cases. check-in: f0fcb9c9 user: dan tags: trunk
11:56
Remove the noop-mutex implementations of mutex_held() and mutex_notheld() since they are both unreachable. check-in: 6767b62a user: drh tags: trunk
11:55
Add two text files containing pager design notes to the doc/ subfolder. check-in: ed817fc8 user: drh tags: trunk
11:32
Add test cases to test the libraries handling of corrupt wal-index headers. check-in: 9465b267 user: dan tags: trunk
07:43
Add tests for handling errors returned by xShm VFS methods. check-in: fbbcacb1 user: dan tags: trunk
2010-05-05
20:00
Change the behavior of the sqlite3_wal_hook() callback. It should now return SQLITE_OK or an error code and the error code is propagated back up the stack. If a checkpoint is desired, the callback should invoke sqlite3_wal_callback() itself. check-in: 1b14195e user: drh tags: trunk
19:09
Further simplifications to the SHM locking logic. Remove the SQLITE_SHM_QUERY option. Unify the WRITE to READ and RECOVER to READ transitions. check-in: e9bfa6e4 user: drh tags: trunk
19:04
Test the handling of errors returned by the xShmXXX() APIs. check-in: 72663123 user: dan tags: trunk
18:46
Do not compare page sizes on source and destination of backup until transactions are started and the page sizes are locked. This is a fix to check-in [7bd44794c4]. check-in: ec715778 user: drh tags: trunk
18:20
Simplifications to the SHM locking implementation in os_unix.c. check-in: 9de05bfb user: drh tags: trunk
16:23
Prohibit backup if the destination is using WAL and has a different page size from the source. check-in: 7bd44794 user: drh tags: trunk
15:33
When closing a WAL database, if the exclusive lock on the database file is obtained and the database successfully checkpointed, delete the wal-index file from the file system. check-in: 2ac5d96c user: dan tags: trunk
04:11
Make sure the page size of the main database is fixed following a failed VACUUM attempt. Otherwise, two consecutive failed VACUUM attempts with attempted page_size changes on encrypted or WAL databases could result in database corruption. check-in: 208e7d5d user: drh tags: trunk
03:39
Do not attempt to modify the page_size when running VACUUM on a WAL database. check-in: 58a1a59b user: drh tags: trunk
00:22
Get the previous mutex fix working with SQLITE_DEBUG and with the amalgamation. check-in: df19928f user: drh tags: trunk
00:05
When the in single-threaded mode, the sqlite3_mutex_alloc() interface still returns a non-NULL value. The mutex doesn't do anything, but it tests non-NULL. This way, extensions (or VFSes) that use sqlite3_mutex_alloc() can tell the difference between an OOM error and mutexes being disabled. check-in: 451fd175 user: drh tags: trunk
2010-05-04
18:50
When sqlite3PagerPagecount() is called without any locks, always return the physical file size, not the logical file size. check-in: 4016b422 user: drh tags: trunk
17:38
Be sure to release all wal-index locks before closing the wal-index. check-in: b15b67fa user: drh tags: trunk
17:20
Relax an over-zealous assert() in sqlite3WalUndo(). check-in: 8f9d22d5 user: drh tags: trunk
16:33
Take care not to invoke the xShmClose method of the VFS with a NULL shared memory object. check-in: 1465d384 user: drh tags: trunk