Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/wal.c
2025-06-28
| ||
14:30 | [8ed0a6b2ac] part of check-in [a6f6fbe617] Merge the latest trunk fixes and enhancements into the bedrock branch. (check-in: [a6f6fbe617] user: drh branch: bedrock, size: 225864) | |
14:24 | [6be26a83e5] part of check-in [e7867c3992] Merge the latest trunk enhancements into the wal2 branch. (check-in: [e7867c3992] user: drh branch: wal2, size: 209080) | |
14:16 | [4524ca068f] part of check-in [1ae8d60237] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [1ae8d60237] user: drh branch: begin-concurrent, size: 186459) | |
2025-06-17
| ||
11:36 | [20be6f0a25] part of check-in [3a3269fe8e] Avoid writing frames with no checksums into the wal file if a savepoint is rolled back after dirty pages have already been spilled into the wal file. Possible fix for forum post b490f726db. (check-in: [3a3269fe8e] user: dan branch: forum-b490f726db-fix, size: 176474) | |
2025-06-03
| ||
14:15 | [58d747a474] part of check-in [d685bc8ce3] Merge latest trunk changes into this branch. (check-in: [d685bc8ce3] user: dan branch: wal2, size: 208980) | |
14:08 | [7530ae8a12] part of check-in [80dfcc313e] Merge latest trunk changes into this branch. (check-in: [80dfcc313e] user: dan branch: mistake, size: 225764) | |
10:18 | [b0f848cfba] part of check-in [c1f20f89d9] Fix harmless compiler warning introduced by the setlk-snapshot-fix merge. (check-in: [c1f20f89d9] user: drh branch: trunk, size: 176374) | |
2025-05-30
| ||
20:52 | [78da33510b] part of check-in [a35236757a] If blocking locks are enabled, avoid using the busy handler when blocked by another process running recovery. (check-in: [a35236757a] user: dan branch: setlk-snapshot-fix, size: 176368) | |
2025-04-21
| ||
13:02 | [a9b11c8646] part of check-in [3215186aa9] Merge all the latest trunk enhancements into the bedrock branch. (check-in: [3215186aa9] user: drh branch: bedrock, size: 225727) | |
12:56 | [40492478a4] part of check-in [c68d0d3530] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c68d0d3530] user: drh branch: wal2, size: 208943) | |
12:41 | [756d485a40] part of check-in [2866119c75] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [2866119c75] user: drh branch: begin-concurrent, size: 186322) | |
2025-03-24
| ||
23:08 | [bcf40795a0] part of check-in [3c53abf5e6] Clarify and reduce redundancy in an assert() in walChecksumBytes(). (check-in: [3c53abf5e6] user: drh branch: trunk, size: 176337) | |
2025-03-15
| ||
20:32 | [b7d7f47717] part of check-in [b1860b6372] Merge the latest trunk enhancements into the bedrock branch via the wal2 intermediary. (check-in: [b1860b6372] user: drh branch: bedrock, size: 225727) | |
20:28 | [4b6721e965] part of check-in [c8d8f613ed] Merge the latest trunk enhancements into the wal2 branch. (check-in: [c8d8f613ed] user: drh branch: wal2, size: 208943) | |
20:25 | [c857bd3f6a] part of check-in [624225499c] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [624225499c] user: drh branch: begin-concurrent, size: 186322) | |
2025-03-14
| ||
18:10 | [554a6b1afa] part of check-in [6fd6b32d06] Make use of the flexible-array feature of C99, when available, to try to pacify -fsanitize=strict-bounds. This check-in fixes the core. There is more yet to do in FTS3, RTREE, and in FTS5. (check-in: [6fd6b32d06] user: drh branch: flex-array, size: 176337) | |
2025-03-03
| ||
16:01 | [4da2e9a7f9] part of check-in [2033763007] Merge the latest trunk enhancements into the bedrock branch through the wal2 intermediary. (check-in: [2033763007] user: drh branch: bedrock, size: 225594) | |
15:57 | [f313d6bf91] part of check-in [6baea938f0] Merge the latest trunk enhancements into the wal2 branch. (check-in: [6baea938f0] user: drh branch: wal2, size: 208810) | |
15:53 | [933365f17e] part of check-in [051a6b159e] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [051a6b159e] user: drh branch: begin-concurrent, size: 186189) | |
2025-02-25
| ||
11:29 | [a992406933] part of check-in [0f6223b8f6] Remove an assert() added by [e88212b1] that is sometimes false. (check-in: [0f6223b8f6] user: dan branch: trunk, size: 176109) | |
2025-02-24
| ||
10:52 | [2c69a5f922] part of check-in [55324d1c86] Merge latest changes from trunk into this branch. (check-in: [55324d1c86] user: dan branch: win32-enable-setlk, size: 176204) | |
2025-02-18
| ||
14:48 | [d477a0bd88] part of check-in [c09656c621] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c09656c621] user: drh branch: bedrock, size: 224859) | |
14:38 | [19bd7caa2f] part of check-in [bd46516595] Merge all the latest trunk enhancements into the wal2 branch. (check-in: [bd46516595] user: drh branch: wal2, size: 208075) | |
14:37 | [d682ee4c29] part of check-in [3c87a6d195] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [3c87a6d195] user: drh branch: begin-concurrent, size: 185454) | |
2025-02-17
| ||
19:06 | [d1a6a56989] part of check-in [e0f898f356] Fix a typo in a comment in wal.c. (check-in: [e0f898f356] user: dan branch: bedrock, size: 224854) | |
17:33 | [cefdffc112] part of check-in [215650a5a1] Code changes that make it easier to prove that no 32-bit integer overflows happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. (check-in: [215650a5a1] user: drh branch: trunk, size: 175469) | |
2025-02-05
| ||
17:52 | [91f94d61c2] part of check-in [581efc3462] If SQLite is compiled with SQLITE_ENABLE_WAL_BIGHASH defined, use hash tables large enough to fit 128K, instead of 4K, entries in the *-shm file. (check-in: [581efc3462] user: dan branch: bedrock, size: 224855) | |
2025-01-30
| ||
17:04 | [6da5a05c12] part of check-in [7eb5accb7c] Fix a problem causing the write-lock to be held when it should not be in some circumstances following a SEH exception. (check-in: [7eb5accb7c] user: dan branch: win32-enable-setlk, size: 176199) | |
2025-01-29
| ||
15:11 | [f552156ce5] part of check-in [dc74bd8915] If SQLITE_ENABLE_WAL2NOCKSUM is defined, then SQLite calculates the frame checksums used in wal2 mode based on the previous checksum and the frame header only, not the frame body only. This risks corruption following a OS crash or power failure, but also speeds up writes in wal2 mode. (check-in: [dc74bd8915] user: dan branch: bedrock, size: 224233) | |
2025-01-27
| ||
11:50 | [20550245b9] part of check-in [4a7eb49279] Add the sqlite3_setlk_timeout() API. For setting the timeout used by SQLITE_ENABLE_SETLK_TIMEOUT blocking locks without also setting the regular retry-based busy-timeout. (check-in: [4a7eb49279] user: dan branch: win32-enable-setlk, size: 175561) | |
2025-01-24
| ||
15:49 | [97c96c4eab] part of check-in [6ab9ed8eef] Fix a race condition causing SQLite to use a busy-handler for an operation that should not. (check-in: [6ab9ed8eef] user: dan branch: win32-enable-setlk, size: 175560) | |
2025-01-03
| ||
15:07 | [456537d699] part of check-in [99293f4f72] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [99293f4f72] user: drh branch: begin-concurrent, size: 185449) | |
2024-12-23
| ||
11:23 | [dcc414ebe4] part of check-in [6e800b7035] Experimental: If SQLite is compiled with SQLITE_WAL_BIGHASH defined, use hash tables large enough to fit 128K, instead of 4K, entries in the *-shm file. (check-in: [6e800b7035] user: dan branch: cf8f1552-commit-instr, size: 227496) | |
2024-12-18
| ||
20:23 | [8a0f98b271] part of check-in [0cb853ea1d] Experimental: If SQLite is compiled with SQLITE_WAL_BIGHASH defined, use hash tables large enough to fit 128K, instead of 4K, entries in the *-shm file. (check-in: [0cb853ea1d] user: dan branch: bedrock-bighash, size: 224166) | |
2024-12-16
| ||
18:29 | [964c785ac8] part of check-in [ec5d7025cb] Merge divergence-reduction changes into the bedrock branch. (check-in: [ec5d7025cb] user: drh branch: bedrock, size: 223694) | |
18:13 | [3ff22607c5] part of check-in [e4406a6e26] Further reduction in divergence from trunk. (check-in: [e4406a6e26] user: drh branch: wal2, size: 208070) | |
18:04 | [4e6181d878] part of check-in [8f725472b0] Code formatting changes to make trunk more like wal2. (check-in: [8f725472b0] user: drh branch: trunk, size: 175464) | |
17:46 | [f5588f5e2d] part of check-in [90d744d674] Reduce divergence of wal2 from trunk. (check-in: [90d744d674] user: drh branch: wal2, size: 208080) | |
12:09 | [c6add778fb] part of check-in [019b043428] Remove unnecessary divergence from trunk. (check-in: [019b043428] user: drh branch: begin-concurrent, size: 185186) | |
12:08 | [fcbc36c31d] part of check-in [ae580443d2] Remove unnecessary end-of-line whitespace. (check-in: [ae580443d2] user: drh branch: trunk, size: 175201) | |
2024-12-14
| ||
17:36 | [3dfcce0875] part of check-in [eb8449ea9a] Merge changes from wal2, including the fix to prevent non-PASSIVE checkpoints from ever taking the writer lock. (check-in: [eb8449ea9a] user: dan branch: bedrock, size: 223709) | |
17:19 | [2ec54ef10b] part of check-in [88d7fb2aef] Update to walRestartLog() function to make it shorter easier to merge with branch "bedrock". (check-in: [88d7fb2aef] user: dan branch: wal2, size: 208086) | |
16:50 | [0d024a770c] part of check-in [11d7865a56] Fix a problem with non-PASSIVE wal2 checkpoints sometimes taking the WRITER lock. (check-in: [11d7865a56] user: dan branch: wal2, size: 207968) | |
16:41 | [42f0823a65] part of check-in [693cc8e8db] Do not attempt to switch wal files when writing if the current transaction read from both wal files. This fix is already on branch 'bedrock'. (check-in: [693cc8e8db] user: dan branch: wal2, size: 207945) | |
2024-12-13
| ||
20:18 | [c801082144] part of check-in [c5f7bba868] Fix a problem with the output of "PRAGMA wal_checkpoint" introduced long ago by [63483e22c775183e]. (check-in: [c5f7bba868] user: dan branch: wal2, size: 207336) | |
17:01 | [24ece0119c] part of check-in [be32067a2a] Merge all recent trunk enhancements and fixes into the wal2 branch. Addendum: This was part of an attempt to reduce divergence. I'm still trying to figure out the best way to do that. (check-in: [be32067a2a] user: drh branch: mistake, size: 207367) | |
16:37 | [88772db313] part of check-in [01c8ebfb1f] Try to reduce incidental divergence between trunk and wal2. (check-in: [01c8ebfb1f] user: drh branch: wal2-conflict-reduction, size: 175660) | |
2024-12-11
| ||
20:42 | [9dc2b38da2] part of check-in [ac5401c62b] When a writer initializes a new *-shm file hash table, zero only the hash-table slots, not the array of page numbers. (check-in: [ac5401c62b] user: dan branch: cf8f1552-commit-instr, size: 227024) | |
2024-12-09
| ||
21:26 | [5d071c855c] part of check-in [1a59cae3c3] Fix a problem with non-PASSIVE wal2 checkpoints sometimes taking the WRITER lock. (check-in: [1a59cae3c3] user: dan branch: cf8f1552-commit-instr, size: 226309) | |
2024-12-06
| ||
09:36 | [704794b1e8] part of check-in [5fa1699e31] Guard the x64 assembler in wal.c with "ifdef __x86_64__". (check-in: [5fa1699e31] user: dan branch: cf8f1552-commit-instr, size: 226286) | |
2024-12-05
| ||
16:52 | [83decd78a9] part of check-in [c10fa6af8b] Use an inline asm "ret stosp" instruction instead of a memset() when a writer is required to zero a hash table. (check-in: [c10fa6af8b] user: dan branch: cf8f1552-commit-instr, size: 226230) | |
2024-12-04
| ||
11:01 | [0f3a659ad8] part of check-in [a97a2b0da1] Temporarily enable zeroing of wal2-mode hash tables within PASSIVE, as well as non-PASSIVE, checkpoints. (check-in: [a97a2b0da1] user: dan branch: cf8f1552-commit-instr, size: 225829) | |
2024-11-28
| ||
18:58 | [46aa25616c] part of check-in [40aafd4585] In wal2 mode, attempt to zero old *-shm hash table pages within non-PASSIVE checkpoints. This saves writers from having to do it. (check-in: [40aafd4585] user: dan branch: cf8f1552-commit-instr, size: 225823) | |
2024-11-27
| ||
14:41 | [73064f1e2d] part of check-in [e6f6352618] Use the P5 rather than the P3 parameter of OP_AutoCommit to avoid an unnecessary conflict in the begin-concurrent branch. Fix some comments. (check-in: [e6f6352618] user: drh branch: commit-and-continue, size: 175577) | |
2024-11-20
| ||
20:26 | [7468f95399] part of check-in [853f9cf453] Logging enhancements. And mark logs v=12. (check-in: [853f9cf453] user: dan branch: cf8f1552-commit-instr, size: 224233) | |
18:49 | [2b1947a925] part of check-in [4d37067270] Experimental change to omit writing frame checksums to the wal file. (check-in: [4d37067270] user: dan branch: cf8f1552-commit-instr, size: 224028) | |
2024-11-19
| ||
17:32 | [b15990d5cc] part of check-in [2ba41da8c4] Extra logging for the freelist and hash table components of COMMITs of BEGIN CONCURRENT transactions. (check-in: [2ba41da8c4] user: dan branch: cf8f1552-commit-instr, size: 223427) | |
2024-11-18
| ||
11:14 | [bb1c95e275] part of check-in [9c7f569acd] Fix a typo in a variable name. (check-in: [9c7f569acd] user: drh branch: commit-and-continue, size: 175558) | |
2024-11-17
| ||
23:53 | [522c8ab27c] part of check-in [22393c3a08] Fix an uninitialized variable that appears to be the cause of the problems with check-in [80b98446fc070d9a]. (check-in: [22393c3a08] user: drh branch: commit-and-continue, size: 175558) | |
2024-11-16
| ||
18:37 | [7a4962ae1f] part of check-in [17360660bb] Clean up the implementation now that it only has to deal with the much simplier concept of COMMIT AND CONTINUE TRANSACTION. (check-in: [17360660bb] user: drh branch: commit-and-continue, size: 175546) | |
2024-11-15
| ||
17:28 | [75a94c7dca] part of check-in [a905bd5dd6] Another approach at implementing COMMIT AND BEGIN. (check-in: [a905bd5dd6] user: drh branch: commit-and-continue, size: 175536) | |
2024-11-13
| ||
11:12 | [c5c772a506] part of check-in [e0c0176793] Optimize deferred allocation of pages on this branch by avoiding BTALLOC_LE. (check-in: [e0c0176793] user: dan branch: cf8f1552-commit-instr, size: 222926) | |
2024-11-08
| ||
17:09 | [f7310528e0] part of check-in [3a45387a09] Even more detailed logging of slow COMMIT statements. (check-in: [3a45387a09] user: dan branch: cf8f1552-commit-instr, size: 222911) | |
2024-11-01
| ||
15:20 | [67618e8d2b] part of check-in [52d332f0c7] Still more logging, this time focused on the sqlite3WalFrames() function. (check-in: [52d332f0c7] user: dan branch: cf8f1552-commit-instr, size: 222622) | |
2024-10-30
| ||
18:24 | [b2bee7bbcd] part of check-in [7dbb43bd30] Add extra logging to analyze COMMIT commands. (check-in: [7dbb43bd30] user: dan branch: cf8f1552-commit-instr, size: 221877) | |
2024-10-21
| ||
17:10 | [77f875970a] part of check-in [d2d954d43a] Update the bedrock branch to version 3.47.0 (check-in: [d2d954d43a] user: drh branch: bedrock, size: 222392) | |
17:05 | [70d127be90] part of check-in [d34b6a9138] Update the wal2 branch to version 3.47.0 (check-in: [d34b6a9138] user: drh branch: wal2, size: 207364) | |
17:00 | [3f6502c1e3] part of check-in [457bb035e3] Update the begin-concurrent branch to version-3.47.0 (check-in: [457bb035e3] user: drh branch: begin-concurrent, size: 185105) | |
2024-10-19
| ||
12:39 | [8b7e309a80] part of check-in [59b76a99e4] An assortment of comment typo fixes discovered by aspell. Add several new words to tool/custom.txt. No code changes. (check-in: [59b76a99e4] user: stephan branch: trunk, size: 175206) | |
2024-10-16
| ||
15:09 | [e1d7ccc959] part of check-in [d5289de411] Merge the latest trunk enhancements into the bedrock branch. (check-in: [d5289de411] user: drh branch: bedrock, size: 222393) | |
15:03 | [bb476dcec9] part of check-in [2e96c8bb7a] Merge the latest trunk enhancements into the wal2 branch. (check-in: [2e96c8bb7a] user: drh branch: wal2, size: 207365) | |
14:52 | [552b4adc03] part of check-in [92cd032aa9] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [92cd032aa9] user: drh branch: begin-concurrent, size: 185106) | |
2024-10-07
| ||
16:11 | [c1109f1e9c] part of check-in [c5391f2cc9] Add logging to help analyze commit performance. (check-in: [c5391f2cc9] user: dan branch: cf8f1552-commit-instr, size: 221699) | |
2024-10-04
| ||
14:11 | [cbe75ede4c] part of check-in [bbbd3d9be8] Add further logging intended for use in analyzing COMMIT performance. (check-in: [bbbd3d9be8] user: dan branch: bedrock-commit-instr, size: 221697) | |
2024-09-30
| ||
17:57 | [cc28bbf6c5] part of check-in [fd6ff55141] Merge the latest trunk enhancements, via the wal2 branch, into the bedrock branch. (check-in: [fd6ff55141] user: dan branch: bedrock, size: 221560) | |
14:41 | [83d1d29254] part of check-in [0f9e2fceec] Merge the latest trunk enhancements into the wal2 branch. (check-in: [0f9e2fceec] user: drh branch: wal2, size: 206532) | |
12:39 | [a3a4d62616] part of check-in [1bf073d7c0] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [1bf073d7c0] user: drh branch: begin-concurrent, size: 184273) | |
2024-09-26
| ||
18:02 | [a0d42bfdef] part of check-in [34b6ac3d76] When possible, avoid taking wal file read-lock 0 in sqlite3_snapshot_get(). (check-in: [34b6ac3d76] user: dan branch: snapshot_get-locking, size: 175207) | |
2024-09-09
| ||
14:50 | [ef68130ba3] part of check-in [055b97de8d] Move the vfstrace extension out of src/ over into ext/misc/ where it belongs. Make it part of the standard build for the CLI. Bring some of the vfstrace output up-to-date. (check-in: [055b97de8d] user: drh branch: vfstrace, size: 174374) | |
2024-08-16
| ||
19:04 | [eb62325a87] part of check-in [d0591db3bb] Merge all the latest trunk enhancements, and especially the order-by-subquery optimization, into the bedrock branch, via wal2. (check-in: [d0591db3bb] user: drh branch: bedrock, size: 221562) | |
2024-08-09
| ||
10:56 | [7fe7aa2720] part of check-in [681d228023] Fix some signed/unsigned compiler warnings on this branch. (check-in: [681d228023] user: dan branch: wal2, size: 206534) | |
10:50 | [1f0202bcb1] part of check-in [d615d52918] Fix some signed/unsigned compiler warnings on this branch. (check-in: [d615d52918] user: dan branch: bedrock, size: 221565) | |
2024-01-13
| ||
20:36 | [bf87522c6a] part of check-in [c39f658522] Merge latest wal2 changes into this branch. (check-in: [c39f658522] user: dan branch: bedrock, size: 221548) | |
20:21 | [2586d8f350] part of check-in [68c2b8d0eb] Merge latest trunk changes into this branch. (check-in: [68c2b8d0eb] user: dan branch: wal2, size: 206519) | |
19:57 | [7a63ccb09c] part of check-in [95bf4bc2e2] Merge latest trunk changes into this branch. (check-in: [95bf4bc2e2] user: dan branch: begin-concurrent, size: 184275) | |
2024-01-09
| ||
23:15 | [887fc4ca3f] part of check-in [d81e7a036a] Put an SQLITE_ENABLE_SETLK_TIMEOUT branch inside the appropriate ifdef with an assert on the else since the condition is always false if SETLK_TIMEOUT is not available. (check-in: [d81e7a036a] user: drh branch: trunk, size: 174376) | |
2024-01-06
| ||
19:16 | [bf41478461] part of check-in [b934a33671] Ensure that SQLITE_PROTOCOL is not returned too early when a SQLITE_ENABLE_SETLK_TIMEOUT build fails to open a transaction on a wal mode database in cases where blocking locks are not being used. (check-in: [b934a33671] user: dan branch: enable-setlk-fix, size: 174289) | |
2024-01-04
| ||
16:28 | [5070f3b191] part of check-in [707f79c70c] Merge the latest trunk enhancements into the bedrock branch. (check-in: [707f79c70c] user: drh branch: bedrock, size: 219840) | |
16:16 | [8542e921cd] part of check-in [8fb42df89a] Merge the latest trunk enhancements into the wal2 branch. (check-in: [8fb42df89a] user: drh branch: wal2, size: 204811) | |
15:49 | [ba4d1d6c70] part of check-in [c407d3bb99] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [c407d3bb99] user: drh branch: begin-concurrent, size: 182575) | |
2024-01-02
| ||
21:37 | [b08f88e69b] part of check-in [eed670ea2a] Adjust the sqlite3PagerDirectReadOk() routine (part of the SQLITE_DIRECT_OVERFLOW_READ optimization) to use less code and to be more easily testable. (check-in: [eed670ea2a] user: drh branch: trunk, size: 172676) | |
2023-12-06
| ||
21:18 | [354ee893c2] part of check-in [c2e53000f4] Merge the latest trunk changes into the bedrock branch. (check-in: [c2e53000f4] user: drh branch: bedrock, size: 219821) | |
2023-11-28
| ||
17:47 | [c04e96db65] part of check-in [bead0d8f5a] Update this branch with latest changes from trunk. (check-in: [bead0d8f5a] user: dan branch: begin-concurrent, size: 182554) | |
17:32 | [aa5c6c7198] part of check-in [7f1b61a3ea] Update this branch with latest changes from trunk. (check-in: [7f1b61a3ea] user: dan branch: wal2, size: 204792) | |
17:12 | [e5247a3406] part of check-in [4c055b7a6e] In SQLITE_ENABLE_SETLK_TIMEOUT builds, use blocking locks in place of sleep() calls when opening a read-transaction. (check-in: [4c055b7a6e] user: dan branch: trunk, size: 172655) | |
15:29 | [fb52b05da3] part of check-in [5fbf3906d2] Handle an SQLITE_BUSY_TIMEOUT error if one occurs while attempting a shared lock on a read-lock slot. (check-in: [5fbf3906d2] user: dan branch: blocking-dms-lock, size: 172563) | |
2023-11-27
| ||
20:37 | [86eaddc56b] part of check-in [f797baf47c] Have SQLITE_ENABLE_SETLK_TIMEOUT builds block when locking a read-lock slot. (check-in: [f797baf47c] user: dan branch: blocking-dms-lock, size: 172476) | |
19:22 | [f64bf6799d] part of check-in [a51ef39998] In SQLITE_ENABLE_SETLK_TIMEOUT builds, use blocking locks in place of sleep() when opening a read-transaction. (check-in: [a51ef39998] user: dan branch: blocking-dms-lock, size: 172313) | |
2023-11-15
| ||
19:19 | [69aa3ce60b] part of check-in [79e24ec3dd] Changes so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead of 1, all blocking locks are taken for a single millisecond and the default busy-handler invoked as normal. (check-in: [79e24ec3dd] user: dan branch: trunk, size: 171575) | |
2023-11-08
| ||
15:49 | [bba7db5dae] part of check-in [e5ecc404ca] Avoid blocking as part of passive checkpoint operations, even if SQLITE_ENABLE_SETLK_TIMEOUT is defined. (check-in: [e5ecc404ca] user: dan branch: trunk, size: 171667) | |
2023-09-09
| ||
15:30 | [bbfae0ba63] part of check-in [48ecf390da] Merge post-3.43.0 wal2 fixes into the bedrock-3.43 branch. (check-in: [48ecf390da] user: drh branch: bedrock-3.43, size: 218413) | |
2023-09-08
| ||
16:49 | [ffbca820a2] part of check-in [79a920c036] Fix a sanitizer runtime error in wal2 code (that (1 << 31) cannot be represented as an int). (check-in: [79a920c036] user: dan branch: wal2, size: 203384) | |
2023-08-21
| ||
18:31 | [ba4ea857ca] part of check-in [4d8df0c426] Merge latest changes from the wal2 branch into this one. (check-in: [4d8df0c426] user: dan branch: bedrock, size: 218399) | |
18:25 | [56eedfe60c] part of check-in [d3d77e35ea] Fix problems related to structured-exception-handling on this branch. (check-in: [d3d77e35ea] user: dan branch: bedrock, size: 217637) | |
18:03 | [e0f74d2495] part of check-in [76a99a2c40] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [76a99a2c40] user: drh branch: begin-concurrent, size: 181150) | |
18:02 | [7b88781719] part of check-in [135bf72c6b] Merge latest trunk changes into this branch. (check-in: [135bf72c6b] user: dan branch: wal2, size: 203370) | |
17:49 | [aab19a1994] part of check-in [dd86c2729b] Fix problems related to structured-exception-handling on this branch. (check-in: [dd86c2729b] user: dan branch: begin-concurrent, size: 180393) | |
17:26 | [2b15d68f83] part of check-in [7004c9027e] Fix MSVC testfixture.exe builds. (check-in: [7004c9027e] user: dan branch: begin-concurrent, size: 179854) | |
2023-08-17
| ||
14:19 | [01e051a1e7] part of check-in [91b91037e3] Fix a possible UAF in SEH if an exception occurs at an inopportune moment during WAL processing. (check-in: [91b91037e3] user: drh branch: trunk, size: 171251) | |
2023-08-14
| ||
18:21 | [3b068bc1db] part of check-in [c2577eb0a4] Fix a problem in sqlite3_snapshot_recover() introduced by the [8a6b0c24937e855b] merge. (check-in: [c2577eb0a4] user: dan branch: trunk, size: 170536) | |
2023-08-11
| ||
19:38 | [403ccb4a7c] part of check-in [cb3cf9bab0] Merge latest trunk changes, including support for handling of structured-exceptions in MSVC builds, with this branch. (check-in: [cb3cf9bab0] user: dan branch: begin-concurrent, size: 179853) | |
19:36 | [8408687b69] part of check-in [331f2f3e5d] Merge latest wal2 changes, including support for handling of structured-exceptions in MSVC builds, with this branch. (check-in: [331f2f3e5d] user: dan branch: bedrock, size: 217099) | |
2023-08-10
| ||
21:20 | [1ea71da116] part of check-in [87242777ec] Add tests for structured-exception-handling and wal2. Fix a problem with the same. (check-in: [87242777ec] user: dan branch: wal2-shm-exceptions, size: 202608) | |
18:58 | [15cf63e763] part of check-in [fd58c61624] Experimental merge of the wal-shm-exceptions and wal2 branches. (check-in: [fd58c61624] user: dan branch: wal2-shm-exceptions, size: 202521) | |
2023-07-26
| ||
18:34 | [02e10f033a] part of check-in [8e20354242] Add a comment describing the contents of the ExceptionInformation[] array for win32 EXCEPTION_IN_PAGE_ERROR exceptions. No changes to code. (check-in: [8e20354242] user: dan branch: wal-shm-exceptions, size: 170494) | |
2023-07-24
| ||
13:24 | [6e1705125b] part of check-in [a6f3443994] Merge the latest trunk enhancements into the bedrock branch. (check-in: [a6f3443994] user: drh branch: bedrock, size: 206839) | |
13:20 | [bb8a96b6b9] part of check-in [b2e56f62ad] Merge the latest trunk enhancements into the wal2 branch. (check-in: [b2e56f62ad] user: drh branch: wal2, size: 192395) | |
13:15 | [5a1e2b889a] part of check-in [967be041ea] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [967be041ea] user: drh branch: begin-concurrent, size: 169775) | |
12:59 | [17a7ec957b] part of check-in [3187ee3f69] Update the latest trunk enhancements into the wal-shm-exceptions branch. (check-in: [3187ee3f69] user: drh branch: wal-shm-exceptions, size: 170110) | |
2023-07-11
| ||
19:54 | [dd843f619a] part of check-in [d38ed6b1fc] Reduce divergence between branches: trunk and wal-shm-exceptions. (check-in: [d38ed6b1fc] user: drh branch: trunk, size: 160422) | |
15:52 | [e4bfb243cc] part of check-in [ff492277ed] Get fault injection for testing working correctly. Other code clean-up. (check-in: [ff492277ed] user: drh branch: wal-shm-exceptions, size: 170112) | |
2023-07-10
| ||
18:16 | [b4668b9464] part of check-in [2df4fd76ef] Fix a warning. Unclear yet if the code is correct this way or not. (check-in: [2df4fd76ef] user: drh branch: wal-shm-exceptions, size: 169384) | |
18:05 | [df70125aa2] part of check-in [f655d08d01] Merge the latest trunk enhancements into the wal-shm-exceptions branch. (check-in: [f655d08d01] user: drh branch: wal-shm-exceptions, size: 169380) | |
2023-07-06
| ||
17:55 | [7f6fba5d54] part of check-in [e59cea2d85] Merge all recent trunk enhancements into the wal-shm-exceptions branch. (check-in: [e59cea2d85] user: drh branch: wal-shm-exceptions, size: 169366) | |
2023-06-22
| ||
14:40 | [4db49fcda8] part of check-in [0551b79b17] Merge the latest trunk enhancements into the bedrock branch. (check-in: [0551b79b17] user: drh branch: bedrock, size: 207047) | |
14:20 | [2515a34576] part of check-in [80ac494f73] Merge the latest trunk enhancements into the wal2 branch. (check-in: [80ac494f73] user: drh branch: wal2, size: 192603) | |
13:28 | [40f4fb1630] part of check-in [5bd26fea6a] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [5bd26fea6a] user: drh branch: begin-concurrent, size: 169983) | |
2023-06-19
| ||
18:16 | [e78a2f4af5] part of check-in [4b08d4dad6] Add the sqlite3_commit_status() API. For querying a connection for (a) the ranges of wal/wal2 frames written after a successful commit, and (b) the conflicting frame following a failed commit of a BEGIN CONCURRENT transaction. (check-in: [4b08d4dad6] user: dan branch: bedrock, size: 207183) | |
2023-06-07
| ||
17:03 | [cbfeeb7415] part of check-in [8c291d9994] Fix straggler misspellings and tidy the custom dictionary. Also include pickups from forum post c61fb09afd. (check-in: [8c291d9994] user: larrybr branch: spell-check, size: 160630) | |
08:40 | [7dbb27213a] part of check-in [26c1bb4bd9] Add a C-source spell-checking facility. make misspell (on Nix) (check-in: [26c1bb4bd9] user: larrybr branch: spell-check, size: 160654) | |
2023-05-13
| ||
15:17 | [f8d61811cc] part of check-in [18c5e16b55] Merge the latest 3.42.0 changes from trunk into the begin-concurrent branch. (check-in: [18c5e16b55] user: drh branch: begin-concurrent, size: 170155) | |
2023-05-04
| ||
14:41 | [b6c4ad0a56] part of check-in [b2e0800b24] Merge latest wal2 changes into this branch. (check-in: [b2e0800b24] user: dan branch: bedrock, size: 205767) | |
14:31 | [2bda91cfc1] part of check-in [49777032f2] Update this branch with latest changes from trunk. (check-in: [49777032f2] user: dan branch: wal2, size: 192739) | |
2023-05-03
| ||
13:33 | [7a65f64bfe] part of check-in [1281d4d9d7] Add a comment to the [0512f82a2cde7447] change to link it to its TH3 test case. (check-in: [1281d4d9d7] user: drh branch: trunk, size: 160802) | |
06:48 | [6a2bba8113] part of check-in [0512f82a2c] If the page size is wrong on the page1 content inside a WAL file, then running VACUUM could trigger an assert(). This check-in changes that assert() into a branch that returns SQLITE_CORRUPT. Forum post 4ef9b37d74d2d2e8 (check-in: [0512f82a2c] user: drh branch: trunk, size: 160750) | |
2023-05-02
| ||
21:10 | [8245b6e5b7] part of check-in [6f22c7679f] Update this branch with latest changes from trunk. (check-in: [6f22c7679f] user: dan branch: begin-concurrent, size: 170080) | |
19:58 | [10e50e08ed] part of check-in [0215dcc76d] Merge the latest trunk enhancements into the wal2 branch. (check-in: [0215dcc76d] user: drh branch: wal2, size: 192664) | |
2023-04-12
| ||
20:23 | [3f4ac276a6] part of check-in [eb94ae1320] Unwrap the loop in the WAL hash function. (check-in: [eb94ae1320] user: drh branch: trunk, size: 160727) | |
2023-02-07
| ||
11:39 | [b3378fe90e] part of check-in [b7d9f14d78] Merge the latest trunk enhancements into the bedrock branch. (check-in: [b7d9f14d78] user: drh branch: bedrock, size: 205148) | |
11:19 | [610c58e925] part of check-in [2537db6f6b] Fix a dropped error code in wal.c. (check-in: [2537db6f6b] user: dan branch: wal2, size: 192120) | |
10:58 | [d9645dd2b6] part of check-in [f5bf91d9bf] Fix an assert() in sqlite3WalFindFrame() so that it matches the equivalent assert() on trunk. (check-in: [f5bf91d9bf] user: dan branch: wal2, size: 192087) | |
2023-02-06
| ||
19:00 | [b433980d0e] part of check-in [e93113259e] Disable an invalid assert(). Add the "WAL2" compile-time property so that test scripts can more easily determine that they are dealing with a WAL2-capable build. (check-in: [e93113259e] user: drh branch: wal2, size: 192087) | |
2023-01-16
| ||
20:33 | [08ab1092ca] part of check-in [906caf8911] Another version of the debug-only logging on this branch. (check-in: [906caf8911] user: dan branch: schema-version-instr, size: 204949) | |
2023-01-12
| ||
15:44 | [1d26e49c69] part of check-in [2c14f3832e] Fix a startup race condition that could occur if a wal file grows from 0 bytes while a BEGIN CONCURRENT transaction is running. Cherrypick of [c1feca4d]. (check-in: [2c14f3832e] user: dan branch: begin-concurrent-pnu-wal2, size: 205094) | |
15:30 | [4da9e3c92a] part of check-in [c1feca4dda] Fix a startup race condition that could occur if a wal file grows from 0 bytes while a BEGIN CONCURRENT transaction is running. (check-in: [c1feca4dda] user: dan branch: begin-concurrent, size: 169536) | |
2022-12-23
| ||
15:05 | [3785c279d3] part of check-in [d5a8d6cf05] Another iteration of "PRAGMA schema_version" instrumentation. (check-in: [d5a8d6cf05] user: dan branch: schema-version-instr, size: 205603) | |
2022-12-22
| ||
14:29 | [1676bd032f] part of check-in [b9efbc538b] Different version of "PRAGMA schema_version" instrumentation. (check-in: [b9efbc538b] user: dan branch: schema-version-instr, size: 205317) | |
2022-12-19
| ||
18:42 | [6d1fc9d36b] part of check-in [44dd01e315] Hack for special gettimeofday() instrumentation of "PRAGMA schema_version". (check-in: [44dd01e315] user: dan branch: schema-version-instr, size: 205443) | |
2022-07-04
| ||
15:14 | [0f34033977] part of check-in [1a8c2e5437] Size reduction and performance optimization in sqlite3WalFindFrame(). (check-in: [1a8c2e5437] user: drh branch: trunk, size: 159998) | |
2022-06-27
| ||
21:43 | [393ffbef83] part of check-in [41d4f14bc6] Merge in fix for wal2 recovery. (check-in: [41d4f14bc6] user: dan branch: begin-concurrent-pnu-wal2, size: 204951) | |
21:42 | [f5fcbb7c56] part of check-in [f6eafb65a4] Fix a problem causing false corruption reports following recovery of a *-wal file that contains one or more transactions and a *-wal2 file that contains a valid header but no valid transactions. (check-in: [f6eafb65a4] user: dan branch: wal2, size: 192066) | |
2022-05-18
| ||
20:44 | [62c3f396c0] part of check-in [3b29080dbf] Experimental code to provide a SIZE_HINT when writing the -wal file. (check-in: [3b29080dbf] user: drh branch: wal-size-hint, size: 161891) | |
2022-03-07
| ||
18:42 | [8d7c4c78e4] part of check-in [1ec05168c9] Add multi-threaded test for the features on this branch. Fix a misuse of xShmLock(). (check-in: [1ec05168c9] user: dan branch: begin-concurrent-pnu-wal2, size: 204897) | |
2022-01-25
| ||
16:05 | [151479223a] part of check-in [3d949775e3] Merge the latest trunk changes into begin-concurrent-pnu-wal2 (check-in: [3d949775e3] user: drh branch: begin-concurrent-pnu-wal2, size: 204719) | |
15:57 | [a9cc35881e] part of check-in [84f737abd1] Merge the latest trunk changes into the wal2 branch. (check-in: [84f737abd1] user: drh branch: wal2, size: 192012) | |
15:20 | [419c0a98dd] part of check-in [dae81f45d2] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [dae81f45d2] user: drh branch: begin-concurrent, size: 169393) | |
2022-01-20
| ||
14:40 | [b9df133a70] part of check-in [71bfd0b57a] A better and more robust fix for the problem of reading a read-only WAL mode database with existing -wal and -shm files, replacing [f426874e005e3c23]. (check-in: [71bfd0b57a] user: drh branch: trunk, size: 160183) | |
02:04 | [c55ef660f9] part of check-in [f426874e00] Fix the ability to read read-only WAL-mode database when -shm is present, ([00ec95fcd02bb415|check-in 00ec95fcd02bb415]) so that it works for the case of 64K page size. (check-in: [f426874e00] user: drh branch: trunk, size: 160147) | |
2021-12-15
| ||
13:42 | [5b92441319] part of check-in [a92eca6c9c] Merge checkpoint-on-close fix from wal2 branch. (check-in: [a92eca6c9c] user: dan branch: begin-concurrent-pnu-wal2, size: 204623) | |
12:51 | [c373a0c800] part of check-in [b0a70a2356] Fix a problem causing one wal file to be deleted without being checkpointed on close in cases where the last connection to close the db does so with an out of date wal-index header in memory. (check-in: [b0a70a2356] user: dan branch: wal2, size: 191916) | |
2021-11-27
| ||
15:11 | [8a81802f21] part of check-in [2171996a02] Merge version 3.37.0 into the begin-concurrent-pnu-wal2 branch. (check-in: [2171996a02] user: drh branch: begin-concurrent-pnu-wal2, size: 204209) | |
15:00 | [ebd6d4c0e4] part of check-in [3425af625b] Merge version 3.37.0 into the wal2 branch. (check-in: [3425af625b] user: drh branch: wal2, size: 191502) | |
14:45 | [80c323b666] part of check-in [c5f2ad1942] Merge version 3.37.0 into the begin-concurrent branch. (check-in: [c5f2ad1942] user: drh branch: begin-concurrent, size: 169297) | |
2021-11-26
| ||
15:08 | [ed0398a7ad] part of check-in [1489b196ce] Fixes to internal comments. No changes to code or documentation. (check-in: [1489b196ce] user: drh branch: trunk, size: 160087) | |
2021-11-09
| ||
15:18 | [ae1ac0b2c5] part of check-in [07bc13395d] Merge all recent trunk enhancements into the begin-concurrent-pnu-wal2 branch. (check-in: [07bc13395d] user: drh branch: begin-concurrent-pnu-wal2, size: 204214) | |
14:52 | [b8668cec19] part of check-in [ff2238397f] Merge the walIndexPage() enhancement from trunk into the begin-concurrent branch. (check-in: [ff2238397f] user: drh branch: begin-concurrent, size: 169302) | |
2021-11-06
| ||
16:36 | [b4b8fa7589] part of check-in [2bb2448d60] Merge change [6979efbf07d93e7a] from trunk to this branch. (check-in: [2bb2448d60] user: dan branch: wal2, size: 191507) | |
2021-10-27
| ||
23:55 | [6ae14d4797] part of check-in [12715c6b23] Ensure that all possible outcomes for walIndexPage() are accounted for by callers. (check-in: [12715c6b23] user: drh branch: wal-tuneup, size: 160092) | |
20:23 | [2fd68f0a2e] part of check-in [28f5f709b4] Avoid the 1-based indexing on the WalHashLoc.aPgno[] array. Make it 0-indexed instead. (check-in: [28f5f709b4] user: drh branch: wal-tuneup, size: 159984) | |
19:57 | [2bf6d84614] part of check-in [b619e93645] Improve the comment on walIndexPage() to more accurately describe the post-conditions. (check-in: [b619e93645] user: drh branch: wal-tuneup, size: 159980) | |
2021-09-10
| ||
21:28 | [8cc813d34b] part of check-in [fdb20e9ee4] If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS error code available via sqlite3_system_errno(). (check-in: [fdb20e9ee4] user: dan branch: wal-shm-exceptions, size: 168675) | |
2021-08-26
| ||
21:12 | [75bcffce59] part of check-in [0c6ab539cf] Change the structuree exception handler in wal.c to catch EXCEPTION_IN_PAGE_ERROR instead of EXCEPTION_ACCESS_VIOLATION. (check-in: [0c6ab539cf] user: dan branch: wal-shm-exceptions, size: 167979) | |
2021-08-20
| ||
18:18 | [2000742eae] part of check-in [9e9d5b566d] Use VVA_ONLY() instead of TESTONLY() in SEH macros so that the build works for coverage testing. (check-in: [9e9d5b566d] user: drh branch: wal-shm-exceptions, size: 167985) | |
17:23 | [5f98987c92] part of check-in [27e9bdb3a9] Add missing SEH_INJECT_FAULT macros. (check-in: [27e9bdb3a9] user: dan branch: wal-shm-exceptions, size: 167985) | |
16:19 | [d47742fa0d] part of check-in [bd9b373b17] Add some assert() statements and fix small issues with code on this branch. (check-in: [bd9b373b17] user: dan branch: wal-shm-exceptions, size: 167766) | |
11:50 | [42c64a0c19] part of check-in [5a98820c3d] Fix a problem on this branch causing checkpoints that do not proceed because they can't get the CHECKPOINT lock to return incorrect output values. (check-in: [5a98820c3d] user: dan branch: wal-shm-exceptions, size: 165893) | |
2021-08-19
| ||
23:10 | [c07f7f1301] part of check-in [840e0a14eb] Enable this branch to run both with and without the -DSQLITE_USE_SEH option. (check-in: [840e0a14eb] user: drh branch: wal-shm-exceptions, size: 165886) | |
21:01 | [dd9ca83fcd] part of check-in [5c5fa47076] If SQLITE_USE_SEH is defined, handle structured-exceptions thrown by MSVC builds if the *-shm file mapping is accessed after it becomes invalid for some reason. (check-in: [5c5fa47076] user: dan branch: wal-shm-exceptions, size: 165811) | |
2021-08-03
| ||
16:44 | [8e8fb6d645] part of check-in [5b6f6514bd] Merge recent trunk changes into the begin-concurrent-pnu-wal2 branch. (check-in: [5b6f6514bd] user: drh branch: begin-concurrent-pnu-wal2, size: 203968) | |
16:31 | [e3a21abbd2] part of check-in [8d806cf93c] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [8d806cf93c] user: drh branch: begin-concurrent, size: 169058) | |
2021-08-02
| ||
20:29 | [cf63450f72] part of check-in [f615d7baa8] Merge recent trunk enhancements into the wal2 branch. (check-in: [f615d7baa8] user: drh branch: wal2, size: 191283) | |
2021-07-29
| ||
18:34 | [2be08331d7] part of check-in [a6c160e08a] Enhance the wal.c source file with an ASCII-art schematic of the -shm file header. (check-in: [a6c160e08a] user: drh branch: trunk, size: 159870) | |
17:01 | [ce589eddfb] part of check-in [ad24334bc0] Fix an error in one of the assert() statements added by [23b08fe9db24a953]. (check-in: [ad24334bc0] user: drh branch: wal-asserts, size: 157172) | |
16:48 | [1b1e7311d3] part of check-in [23b08fe9db] Improve comments and add new assert() statements in WAL to help document how everything works. (check-in: [23b08fe9db] user: drh branch: wal-asserts, size: 157128) | |
2021-05-21
| ||
17:31 | [24068dd5d1] part of check-in [4efefb5938] Merge latest changes from wal2 into this branch. (check-in: [4efefb5938] user: dan branch: begin-concurrent-pnu-wal2, size: 199758) | |
16:42 | [cacabe92b7] part of check-in [95cc778345] Merge the latest trunk enhancements into the wal2 branch. (check-in: [95cc778345] user: drh branch: wal2, size: 187073) | |
15:33 | [59ad6d70c3] part of check-in [0dba9010ad] Merge all recent trunk changes into the begin-concurrent branch. (check-in: [0dba9010ad] user: drh branch: begin-concurrent, size: 164848) | |
2021-04-30
| ||
12:30 | [c8ec20a1ca] part of check-in [0bef3fb11f] Fix a harmless "unused variable" warning when compiling with -DSQLITE_COVERAGE_TEST. (check-in: [0bef3fb11f] user: drh branch: trunk, size: 155660) | |
2020-11-26
| ||
18:41 | [14561b2278] part of check-in [b451bb724e] Merge latest changes from wal2 branch. (check-in: [b451bb724e] user: dan branch: begin-concurrent-pnu-wal2, size: 199830) | |
18:08 | [4d548c3302] part of check-in [cb1f6f18e7] Merge latest trunk changes into this branch. (check-in: [cb1f6f18e7] user: dan branch: wal2, size: 187145) | |
11:37 | [c9dfe3054c] part of check-in [ddb97eeef7] Update this branch with latest changes from trunk. (check-in: [ddb97eeef7] user: dan branch: begin-concurrent, size: 164920) | |
2020-11-20
| ||
11:17 | [5f03d6aa3c] part of check-in [4f5481bf29] Declare a variable "const" in order to avoid compiler warnings. (check-in: [4f5481bf29] user: dan branch: wal2, size: 187067) | |
2020-11-19
| ||
16:08 | [055328936b] part of check-in [c2426ae8a8] Fix things so that sqlite3_database_file_object() works with wal2 filenames. (check-in: [c2426ae8a8] user: dan branch: wal2, size: 187067) | |
2020-08-11
| ||
18:00 | [69e770e96f] part of check-in [7dfb74c37e] Modify a test for corruption within the wal checkpoint code to account for the pending-byte page. And for the fact that test configurations might move the pending-byte page. (check-in: [7dfb74c37e] user: dan branch: trunk, size: 155732) | |
13:22 | [fb11935f9a] part of check-in [ebefcb8607] Merge all the latest changes into the begin-concurrent-pnu-wal2 branch. (check-in: [ebefcb8607] user: drh branch: begin-concurrent-pnu-wal2, size: 200000) | |
11:34 | [dafdd709d1] part of check-in [91262e6657] Merge latest trunk changes into this branch. (check-in: [91262e6657] user: dan branch: wal2, size: 187315) | |
2020-08-10
| ||
21:16 | [5cdd43b753] part of check-in [ed4c742c4e] Merge recent trunk enhancements into begin-concurrent. (check-in: [ed4c742c4e] user: drh branch: begin-concurrent, size: 164842) | |
2020-08-07
| ||
19:52 | [7a05a519a0] part of check-in [fdc5fb902d] Do the oversize-WAL corruption test before the size hint is issued. (check-in: [fdc5fb902d] user: drh branch: trunk, size: 155654) | |
16:28 | [b23eed3850] part of check-in [e2799563c8] Return an SQLITE_CORRUPT error if the final expected size of the database when checkpointing is not reasonable - where reasonable is defined (basically) as the sum of the sizes of the database and wal files. (check-in: [e2799563c8] user: dan branch: trunk, size: 155635) | |
2020-07-31
| ||
17:08 | [a23bfbacaf] part of check-in [ebd39665e5] Merge latest wal2 changes into this branch. (check-in: [ebd39665e5] user: dan branch: begin-concurrent-pnu-wal2, size: 198297) | |
16:01 | [47092a65e8] part of check-in [0c0d0a77bc] Merge latest trunk changes into this branch. (check-in: [0c0d0a77bc] user: dan branch: wal2, size: 185612) | |
2020-07-30
| ||
22:33 | [7482e90927] part of check-in [168cccbabb] Provide an alternative "guaranteed-safe" method for overwriting the WAL index on recovery, in case some platform is found for which memcpy() cannot do this safely. (check-in: [168cccbabb] user: drh branch: trunk, size: 155325) | |
19:19 | [80e75a6df9] part of check-in [e8a6651539] Merge latest trunk changes into this branch. (check-in: [e8a6651539] user: dan branch: begin-concurrent, size: 163335) | |
2020-07-29
| ||
16:18 | [c61e9171e4] part of check-in [a80ae2c98b] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c98b] user: drh branch: typos, size: 154125) | |
12:23 | [093a1fdc83] part of check-in [1d69eee8b0] Fix signed/unsigned compiler warnings. (check-in: [1d69eee8b0] user: drh branch: larger-databases, size: 154147) | |
2020-07-28
| ||
17:17 | [788fc787c6] part of check-in [2a251af84f] Add an sqlite3FaultSim() to make an OOM case more accessible and remove the ALWAYS() on the conditional that is false when the OOM actually occurs. (check-in: [2a251af84f] user: drh branch: unlocked-recovery, size: 154120) | |
2020-07-27
| ||
20:16 | [5d62c14b78] part of check-in [7052cf1d53] On recovery, always overwrite the old with the new, even if they are the same. Add ALWAYS() macros on branches currently thought to be unreachable, pending additional testing. (check-in: [7052cf1d53] user: drh branch: unlocked-recovery, size: 154034) | |
15:01 | [e409134fb9] part of check-in [cf962d213a] Improved error reporting if walLockExclusive() fails. (check-in: [cf962d213a] user: drh branch: unlocked-recovery, size: 154116) | |
2020-07-25
| ||
20:16 | [701b03c19b] part of check-in [3549faefea] When trying to read the index header, accept either of the two headers that have a valid checksum after 15 attempts to get exactly matching headers fail. (check-in: [3549faefea] user: drh branch: more-aggressive-wal-recovery, size: 153234) | |
20:16 | [477491b199] part of check-in [74374aebf9] Allow a wal mode recovery to proceed even if there are readers. (check-in: [74374aebf9] user: dan branch: unlocked-recovery, size: 154052) | |
2020-07-16
| ||
20:57 | [9937d99e66] part of check-in [2160ede1d1] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [2160ede1d1] user: dan branch: begin-concurrent-pnu-wal2, size: 196615) | |
20:10 | [85a5d4587b] part of check-in [24eead9204] Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. (check-in: [24eead9204] user: dan branch: mistake, size: 162224) | |
2020-06-29
| ||
19:58 | [53e6b90973] part of check-in [9c2b4bdd03] Passive checkpoints do not use the busy-handler. So, in order to minimize visible changes for legacy applications, do not enable blocking locks for passive checkpoints. (check-in: [9c2b4bdd03] user: dan branch: wal-setlk-changes, size: 152970) | |
2020-06-04
| ||
16:07 | [231044ecf7] part of check-in [1ab30c75f2] Use AtomicStore() to set values in the wal-index hash table. (check-in: [1ab30c75f2] user: dan branch: trunk, size: 153049) | |
2020-05-25
| ||
18:18 | [52beceafdc] part of check-in [0f9464c509] Merge version 3.32.1 into the begin-concurrent-pnu-wal2 branch. (check-in: [0f9464c509] user: drh branch: begin-concurrent-pnu-wal2, size: 196415) | |
18:09 | [8c571afcfc] part of check-in [5c18375725] Merge version 3.32.1 into the wal2 branch. (check-in: [5c18375725] user: drh branch: wal2, size: 183930) | |
17:27 | [7269fd4f79] part of check-in [5e08e36067] Merge version 3.32.1 into the begin-concurrent branch. (check-in: [5e08e36067] user: drh branch: begin-concurrent, size: 162044) | |
12:02 | [04c3d2a673] part of check-in [a77ceaf6ba] Make sure variable declarations are at start of scope even when SQLITE_ENABLE_SNAPSHOT is used. (check-in: [a77ceaf6ba] user: drh branch: trunk, size: 153036) | |
2020-05-22
| ||
18:35 | [8d52cb9680] part of check-in [3cb296065a] Merge version 3.32.0 into the begin-concurrent-pnu-wal2 branch. (check-in: [3cb296065a] user: drh branch: begin-concurrent-pnu-wal2, size: 196378) | |
18:28 | [942cf950d7] part of check-in [1cb46a7431] Merge version 3.32.0 into the wal2 branch. (check-in: [1cb46a7431] user: drh branch: wal2, size: 183893) | |
18:09 | [6eabe9d187] part of check-in [79ad4ea2c8] Merge the 3.32.0 release into the begin-concurrent branch. (check-in: [79ad4ea2c8] user: drh branch: begin-concurrent, size: 162007) | |
2020-05-19
| ||
15:51 | [17ea0a319d] part of check-in [3117c1b5a9] Add compiler hints to disable TSAN for the routines that access the -shm file header in WAL mode using a double-read with memory barrier. (check-in: [3117c1b5a9] user: drh branch: trunk, size: 152999) | |
12:27 | [fc763af2c2] part of check-in [4bf566feca] In wal.c, improved comments on concurrency issues. More use of AtomicLoad() and AtomicStore(). (check-in: [4bf566feca] user: drh branch: trunk, size: 152610) | |
2020-05-18
| ||
19:55 | [55bdc1be81] part of check-in [5dc355ccf6] Merge latest trunk changes into this branch. (check-in: [5dc355ccf6] user: dan branch: begin-concurrent-pnu-wal2, size: 197040) | |
17:18 | [a12866b518] part of check-in [16b1eca922] Merge latest trunk changes into this branch. (check-in: [16b1eca922] user: dan branch: wal2, size: 184121) | |
15:41 | [6457594284] part of check-in [9e4a7b3ed8] Merge latest trunk changes into this branch. (check-in: [9e4a7b3ed8] user: dan branch: begin-concurrent, size: 162614) | |
2020-05-17
| ||
00:26 | [d0365581ae] part of check-in [1313557b51] Use the sqlite3Realloc() interface internally, rather than the public sqlite3_realloc64() equivalent, to avoid unnecessary calls to sqlite3_initialize(). (check-in: [1313557b51] user: drh branch: trunk, size: 153172) | |
2020-05-13
| ||
13:33 | [3dc15756d3] part of check-in [fda57d4d2f] Use AtomicStore() and AtomicLoad() in a few more places to avoid a theoretically undefined behaviour. This is not actually problem on any known hardware. (check-in: [fda57d4d2f] user: dan branch: trunk, size: 153175) | |
2020-05-06
| ||
21:24 | [fdbf7641be] part of check-in [e89c864299] Fix an assert() failure that could follow an IO error. (check-in: [e89c864299] user: dan branch: setlk-deadlock-changes, size: 153123) | |
20:55 | [43ee77f2b7] part of check-in [92dc59132f] Fix harmless compiler warnings. (check-in: [92dc59132f] user: drh branch: setlk-deadlock-changes, size: 153125) | |
20:27 | [f4eda6e688] part of check-in [f3ef9c7c2b] Add error code SQLITE_BUSY_TIMEOUT, used internally by the OS layer to indicate that a call to xShmLock() has failed due to timeout of a blocking lock. (check-in: [f3ef9c7c2b] user: dan branch: setlk-deadlock-changes, size: 153119) | |
19:22 | [24566cac36] part of check-in [22de99ef41] Fix compiler warnings in non-SQLITE_ENABLE_SETLK_TIMEOUT builds. (check-in: [22de99ef41] user: dan branch: setlk-deadlock-changes, size: 152911) | |
19:14 | [d23410a433] part of check-in [105d6c9bbc] Block on the WRITER lock when attempting to run recovery. (check-in: [105d6c9bbc] user: dan branch: setlk-deadlock-changes, size: 152895) | |
17:18 | [9cf3f288cd] part of check-in [d096ea3fe2] Add tests for running recovery when opening a write transaction or performing a checkpoint with blocking locks enabled. Fix some failing assert() statements. (check-in: [d096ea3fe2] user: dan branch: setlk-deadlock-changes, size: 152491) | |
2020-05-05
| ||
20:30 | [4099109dcf] part of check-in [d6f819a9e6] 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. (check-in: [d6f819a9e6] user: dan branch: setlk-deadlock-changes, size: 152209) | |
2020-05-04
| ||
19:42 | [b6c5fb152c] part of check-in [553423c231] Changes to avoid deadlock in SQLITE_ENABLE_SETLK_TIMEOUT builds. (check-in: [553423c231] user: dan branch: setlk-deadlock-changes, size: 150745) | |
2020-05-01
| ||
18:37 | [8efa749ff1] part of check-in [b40f5aa344] Add the SQLITE_FCNTL_CKPT_START file-control. Use it to optimize the cksumvfs extension. (check-in: [b40f5aa344] user: drh branch: ckpt-start-fcntl, size: 150174) | |
2020-04-09
| ||
19:00 | [1227919e84] part of check-in [6c11b67bd2] Merge recent trunk changes into begin-concurrent-pnu-wal2. (check-in: [6c11b67bd2] user: drh branch: begin-concurrent-pnu-wal2, size: 193814) | |
18:51 | [4e8062448f] part of check-in [d6fda470fe] Merge recent trunk changes into the apple-osx branch. (check-in: [d6fda470fe] user: drh branch: apple-osx, size: 151354) | |
18:46 | [1e5289e9ff] part of check-in [6fb870625c] Merge recent trunk enhancements into the wal2 branch. (check-in: [6fb870625c] user: drh branch: wal2, size: 181174) | |
18:29 | [ba72dad1ff] part of check-in [92f71a88c4] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [92f71a88c4] user: drh branch: begin-concurrent, size: 159636) | |
2020-03-30
| ||
13:35 | [ea8dad28bb] part of check-in [a49f8ec552] Use __atomic_load_n() and __atomic_store_n() for a few more things where they are available. (check-in: [a49f8ec552] user: dan branch: trunk, size: 150203) | |
11:17 | [540904ecad] part of check-in [fbd9378727] Fix "GCC_VESRION" typo in wal.c. (check-in: [fbd9378727] user: dan branch: trunk, size: 150603) | |
2020-03-27
| ||
17:23 | [b85296a955] part of check-in [c516027d5f] Modifications to the way blocking locks are used in SQLITE_ENABLE_SETLK_TIMEOUT builds so that multiple processes or threads may not deadlock when operating on a single database. (check-in: [c516027d5f] user: dan branch: setlk-deadlock-fix, size: 150586) | |
2020-02-07
| ||
01:12 | [697424314e] part of check-in [5a877221ce] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221ce] user: drh branch: trunk, size: 149719) | |
2020-01-22
| ||
21:18 | [c86693d7dc] part of check-in [9c3f46384d] Merge version 3.31.0 (check-in: [9c3f46384d] user: drh branch: begin-concurrent-pnu-wal2, size: 193555) | |
21:12 | [d24d51592c] part of check-in [3bb267deb1] Merge version 3.31.0 (check-in: [3bb267deb1] user: drh branch: wal2, size: 180915) | |
20:56 | [5365c5a40c] part of check-in [bbbc2881b9] Merge version 3.31.0 (check-in: [bbbc2881b9] user: drh branch: begin-concurrent, size: 159379) | |
20:36 | [11c073cc7f] part of check-in [0eae87ad11] Merge version 3.31.0 (check-in: [0eae87ad11] user: drh branch: apple-osx, size: 151097) | |
2020-01-16
| ||
16:32 | [dbc77159e6] part of check-in [3cc39e5069] Add the SQLITE_FCNTL_CKPT_DONE file-control for the use of custom VFSs. (check-in: [3cc39e5069] user: dan branch: trunk, size: 149946) | |
2020-01-15
| ||
14:21 | [aefd8a9217] part of check-in [350627f3b1] Merge in the latest trunk changes via the begin-concurrent-pnu branch. (check-in: [350627f3b1] user: drh branch: begin-concurrent-pnu-wal2, size: 193387) | |
14:11 | [4485157dfc] part of check-in [35eae71a4d] Merge recent enhancements and fixes from trunk. (check-in: [35eae71a4d] user: drh branch: wal2, size: 180747) | |
13:34 | [8d200f65d3] part of check-in [95ba2f50fd] Merge fixes and enhancements from trunk into begin-concurrent. (check-in: [95ba2f50fd] user: drh branch: begin-concurrent, size: 159211) | |
12:49 | [48ace3d10f] part of check-in [dadedf41c7] Merge all recent enhancements and fixes from trunk into the apple-osx branch. (check-in: [dadedf41c7] user: drh branch: apple-osx, size: 150929) | |
2019-11-27
| ||
20:40 | [15a2845769] part of check-in [0fab65c79f] More details on the comment justifying the aleged data race in the WAL-mode checkpoint logic. (check-in: [0fab65c79f] user: drh branch: trunk, size: 149778) | |
12:03 | [8ed0ca18d8] part of check-in [0ff59edbbb] Fix obsolete comment. No changes to code. (check-in: [0ff59edbbb] user: drh branch: reuse-shm, size: 149148) | |
2019-09-16
| ||
12:29 | [7337e7f94b] part of check-in [15593bf3ad] Bring the begin-concurrent-pnu-wal2 branch up to date with all the latest enhancements on trunk. (check-in: [15593bf3ad] user: drh branch: begin-concurrent-pnu-wal2, size: 192626) | |
12:23 | [727863144d] part of check-in [da8bc97412] Merge recent trunk enhancements into the wal2 branch. (check-in: [da8bc97412] user: drh branch: wal2, size: 179986) | |
12:08 | [6094611019] part of check-in [93b9ef3f47] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [93b9ef3f47] user: drh branch: begin-concurrent, size: 158474) | |
12:02 | [8b2cb7bc3c] part of check-in [a95191deab] Merge the latest changes from trunk into the apple-osx branch. (check-in: [a95191deab] user: drh branch: apple-osx, size: 150192) | |
2019-07-16
| ||
19:44 | [bbd6838bd7] part of check-in [9e66458592] Add new assert() statements in an attempt to help static analyzers avoid false-positives. (check-in: [9e66458592] user: drh branch: trunk, size: 149041) | |
2019-05-14
| ||
21:51 | [624b4369ab] part of check-in [5d3a6e18d4] Merge the latest trunk enhancements into begin-concurrent. (check-in: [5d3a6e18d4] user: drh branch: begin-concurrent, size: 158411) | |
19:39 | [6697e13d54] part of check-in [40362d5181] Merge recent enhancements from trunk into apple-osx. (check-in: [40362d5181] user: drh branch: apple-osx, size: 150129) | |
2019-04-17
| ||
21:12 | [b09a2a9cab] part of check-in [03f2e78899] Small performance and size optimization in sqlite3WalFindFrame(). (check-in: [03f2e78899] user: drh branch: trunk, size: 148978) | |
2019-04-15
| ||
15:28 | [3836d85075] part of check-in [1cd536ecc8] Merge all recent enhancements. (check-in: [1cd536ecc8] user: drh branch: begin-concurrent-pnu-wal2, size: 192563) | |
15:17 | [20ddea6a32] part of check-in [8950f1195a] Merge the latest trunk enhancements. (check-in: [8950f1195a] user: drh branch: wal2, size: 179923) | |
14:59 | [a2311c44fe] part of check-in [7c328e8894] Merge the latest enhancements from trunk. (check-in: [7c328e8894] user: drh branch: begin-concurrent, size: 158413) | |
14:49 | [8afec523b9] part of check-in [378230ae7f] Bring in the latest enhancements from trunk. (check-in: [378230ae7f] user: drh branch: apple-osx, size: 150131) | |
2019-04-13
| ||
14:07 | [9eccc7ebb5] part of check-in [c28c973ad6] Fixes for harmless compiler warnings. (check-in: [c28c973ad6] user: drh branch: trunk, size: 148980) | |
2019-04-04
| ||
21:40 | [f331eccd4d] part of check-in [521d5186b8] Merge all the latest changes and enhancements from trunk. (check-in: [521d5186b8] user: drh branch: apple-osx, size: 150095) | |
2019-04-03
| ||
17:54 | [dbfeac3d6a] part of check-in [1109942a50] Add a defense-in-depth NEVER() test to the WAL cleanup code. (check-in: [1109942a50] user: drh branch: branch-3.27, size: 148944) | |
17:48 | [8bf8782089] part of check-in [8d3af2010f] Add a defense-in-depth NEVER() test to the WAL cleanup code. (check-in: [8d3af2010f] user: drh branch: trunk, size: 148944) | |
2019-03-26
| ||
13:28 | [9ad123ad46] part of check-in [6433d36617] Bring this branch into closer alignment with begin-concurrent. (check-in: [6433d36617] user: drh branch: begin-concurrent-pnu, size: 158222) | |
2019-01-04
| ||
19:39 | [c620be7513] part of check-in [079daedbe4] Fix the experimental sqlite3_wal_info() API so that it works with wal2 mode. (check-in: [079daedbe4] user: dan branch: begin-concurrent-pnu-wal2, size: 192280) | |
2019-01-02
| ||
19:46 | [85bb10e593] part of check-in [86685679b4] Merge changes from begin-concurrent-wal2. Also modify the unix-excl shm-locks on this branch so that it is not an error to attempt to release an EXCLUSIVE lock that is not held. (check-in: [86685679b4] user: dan branch: begin-concurrent-pnu-wal2, size: 192242) | |
2018-12-29
| ||
20:47 | [d1908ffa51] part of check-in [1625887c02] Merge latest begin-concurrent changes with this branch. (check-in: [1625887c02] user: dan branch: begin-concurrent-wal2, size: 192365) | |
20:42 | [2d5771a643] part of check-in [48ca30f9d7] Fix a problem causing a corrupt pager-cache if an OOM or IO error was encountered while committing a concurrent transacation. (check-in: [48ca30f9d7] user: dan branch: begin-concurrent, size: 158075) | |
16:34 | [598891224a] part of check-in [f664f940a7] Increase coverage provided by permutation "coverage-wal" on this branch. (check-in: [f664f940a7] user: dan branch: begin-concurrent-wal2, size: 192200) | |
2018-12-27
| ||
17:11 | [80b66beb42] part of check-in [ea96001e80] Merge latest wal2 changes with this branch. (check-in: [ea96001e80] user: dan branch: begin-concurrent-wal2, size: 191305) | |
16:49 | [8bfa18a1c5] part of check-in [2f7f893a70] Increase test coverage of wal.c provided by permutation "coverage-wal" on this branch. (check-in: [2f7f893a70] user: dan branch: wal2, size: 179732) | |
2018-12-26
| ||
20:42 | [9b0402f6e1] part of check-in [63483e22c7] Improve testing of the wal.c changes on this branch. (check-in: [63483e22c7] user: dan branch: wal2, size: 179672) | |
19:10 | [328101a4c3] part of check-in [404f9d99d3] Merge latest trunk changes with this branch. (check-in: [404f9d99d3] user: dan branch: wal2, size: 179692) | |
2018-12-22
| ||
15:50 | [93dc58d21b] part of check-in [118aa7e32a] Enhance the wal2 header comment in wal.c to explain how the wal-hook is invoked in wal2 mode. (check-in: [118aa7e32a] user: dan branch: wal2, size: 179555) | |
2018-12-18
| ||
19:46 | [da000d7e4e] part of check-in [c3191fc8fc] Add the "mutexfree-shmlock" patch to this branch. (check-in: [c3191fc8fc] user: dan branch: begin-concurrent-pnu-wal2, size: 189863) | |
18:01 | [dca50fc127] part of check-in [a2c618c0a4] Merge the wal2 feature into this branch. (check-in: [a2c618c0a4] user: dan branch: begin-concurrent-pnu-wal2, size: 190133) | |
2018-12-17
| ||
18:26 | [2640020e19] part of check-in [5645822039] Add wal2 related tests to this branch. (check-in: [5645822039] user: dan branch: begin-concurrent-wal2, size: 189986) | |
2018-12-15
| ||
20:59 | [2a9139e0ea] part of check-in [06bb80eeb8] Merge latest wal2 changes into this branch. (check-in: [06bb80eeb8] user: dan branch: begin-concurrent-wal2, size: 189952) | |
20:20 | [beca1487f7] part of check-in [9cb5f8dab6] Further test cases for wal2 mode. (check-in: [9cb5f8dab6] user: dan branch: wal2, size: 178391) | |
2018-12-14
| ||
19:53 | [1deb1d320b] part of check-in [54e628f902] Add further tests for wal2 mode. (check-in: [54e628f902] user: dan branch: wal2, size: 178359) | |
2018-12-13
| ||
16:26 | [93389c3992] part of check-in [34f56f8a42] Add tests cases for recovery in wal2 mode. (check-in: [34f56f8a42] user: dan branch: wal2, size: 178371) | |
2018-12-12
| ||
20:39 | [7106d08dce] part of check-in [e3e50bcdab] Add new test file wal2big.test. (check-in: [e3e50bcdab] user: dan branch: wal2, size: 178409) | |
2018-12-11
| ||
17:56 | [22850fcd2e] part of check-in [18b2c23ac5] Change the way wal2 locks work to ensure a reader only ever has to lock a single slot. (check-in: [18b2c23ac5] user: dan branch: wal2, size: 178491) | |
2018-12-10
| ||
15:58 | [47e3230db6] part of check-in [6007abfe09] Merge the latest version of mutexfree-shmlock with this branch. (check-in: [6007abfe09] user: dan branch: begin-concurrent-pnu-mutexfree-shmlock, size: 157723) | |
15:24 | [d1c4f4edd1] part of check-in [d9157dd176] Rework the SQLITE_MUTEXFREE_SHMLOCK code to reduce contention. (check-in: [d9157dd176] user: dan branch: mutexfree-shmlock, size: 148519) | |
2018-12-07
| ||
20:25 | [1a564ef45c] part of check-in [7bd3b35661] Add multi-threaded performance test program "tserver" to this branch. Fix bugs in the begin-concurrent/wal2 integration revealed by the same. (check-in: [7bd3b35661] user: dan branch: begin-concurrent-wal2, size: 189559) | |
2018-12-05
| ||
17:20 | [43a7e48cea] part of check-in [bf309107df] Fix a problem causing "PRAGMA journal_mode" to report the wrong journal mode (wal instead of wal2) under some circumstances. (check-in: [bf309107df] user: dan branch: begin-concurrent-wal2, size: 189315) | |
17:14 | [c01f62932a] part of check-in [1d8d4f6896] Fix a problem causing "PRAGMA journal_mode" to report the wrong journal mode (wal instead of wal2) under some circumstances. (check-in: [1d8d4f6896] user: dan branch: wal2, size: 177928) | |
16:45 | [171d066ccb] part of check-in [d8c2d55fa4] Fixes for snapshots API on this branch. Also ensure that the snapshots API cannot be used with wal2 mode databases (for now anyhow). (check-in: [d8c2d55fa4] user: dan branch: begin-concurrent-wal2, size: 189119) | |
16:31 | [2b9b1bc7ee] part of check-in [19c61ab794] Fixes for snapshots API on this branch. Also ensure that the snapshots API cannot be used with wal2 mode databases (for now anyhow). (check-in: [19c61ab794] user: dan branch: wal2, size: 177732) | |
13:49 | [59b20f8fd0] part of check-in [342c9538d9] Merge enhancements from trunk, especially the sqlite3_normalized_sql() enhancement. (check-in: [342c9538d9] user: drh branch: begin-concurrent-pnu, size: 157993) | |
2018-12-04
| ||
19:41 | [4b7ad0e623] part of check-in [fd707001f0] First attempt at making features work together. Only the most minimal testing so far. (check-in: [fd707001f0] user: dan branch: begin-concurrent-wal2, size: 188739) | |
13:51 | [6675d84d7b] part of check-in [ddb4a6fbf8] Fix a problem with SQLITE_ENABLE_EXPENSIVE_ASSERT builds on this branch. (check-in: [ddb4a6fbf8] user: dan branch: begin-concurrent, size: 157846) | |
2018-12-03
| ||
20:49 | [88e424b4de] part of check-in [b7281a1caa] Merge the wal2 and begin-concurrent code. Both features work, but not at the same time. (check-in: [b7281a1caa] user: dan branch: begin-concurrent-wal2, size: 186513) | |
20:38 | [8a12219e69] part of check-in [6a7af3ead5] Minor change to wal.c on this branch to make it more similar to trunk. (check-in: [6a7af3ead5] user: dan branch: begin-concurrent, size: 157865) | |
2018-12-01
| ||
20:14 | [e5b19ec1ce] part of check-in [7a44fa5a35] Sync this branch with the latest trunk. (check-in: [7a44fa5a35] user: dan branch: wal2, size: 177352) | |
2018-11-30
| ||
16:26 | [f53ac2b6ec] part of check-in [81e626f4a4] Merge the mutex-free PRNG change into this branch. (check-in: [81e626f4a4] user: dan branch: begin-concurrent-pnu, size: 158350) | |
2018-10-09
| ||
22:50 | [df8a22fe36] part of check-in [ddf6a54ef3] Merge changes for the 3.25.0 release. (check-in: [ddf6a54ef3] user: drh branch: apple-osx, size: 149940) | |
2018-09-28
| ||
20:58 | [41de674242] part of check-in [86750c927c] Merge latest trunk into this branch. (check-in: [86750c927c] user: dan branch: begin-concurrent, size: 158203) | |
2018-09-12
| ||
00:21 | [3f4f653daf] part of check-in [f578e62ae6] Fix a harmless compiler warning that arose from the ENABLE_CURSOR_HINTS fix of check-in [0af18674ca5b34e67e] (check-in: [f578e62ae6] user: drh branch: trunk, size: 148789) | |
2018-08-31
| ||
19:00 | [df50883d93] part of check-in [e07923128b] If a call to sqlite3_snapshot_open() fails because the requested snapshot no longer exists, return SQLITE_ERROR_SNAPSHOT instead of SQLITE_BUSY_SNAPSHOT. (check-in: [e07923128b] user: dan branch: trunk, size: 148788) | |
2018-08-30
| ||
20:28 | [f58ff398f7] part of check-in [47d44be4a6] Try to identify the places in WAL code where thread-safety depends on the underlying architecture supporting atomic load and store of aligned 32-bit values. (check-in: [47d44be4a6] user: drh branch: trunk, size: 148785) | |
2018-08-28
| ||
11:23 | [46bfc9427d] part of check-in [535155be58] Fix a problem causing spurious SQLITE_CORRUPT errors when using the snapshot API to read from old database snapshots. (check-in: [535155be58] user: dan branch: trunk, size: 148327) | |
2018-08-15
| ||
14:03 | [e4bcbd9007] part of check-in [4139916995] Allow sqlite3_snapshot_open() to be called to change the snapshot after a read transaction is already open on database. (check-in: [4139916995] user: dan branch: trunk, size: 148299) | |
2018-08-08
| ||
20:46 | [c617d78715] part of check-in [60bbca2b9a] Minor style improvements. (check-in: [60bbca2b9a] user: mistachkin branch: trunk, size: 147153) | |
2018-08-06
| ||
17:12 | [d0d541116c] part of check-in [051ac01520] Allow sqlite3_snapshot_open() to be called to change the snapshot after a read transaction is already open on database. (check-in: [051ac01520] user: dan branch: exp-snapshot-open, size: 148297) | |
2018-07-10
| ||
15:45 | [a49089219d] part of check-in [e9a3e8642e] Merge latest trunk changes into this branch. (check-in: [e9a3e8642e] user: dan branch: begin-concurrent, size: 156565) | |
2018-06-09
| ||
16:49 | [d44a0811af] part of check-in [538a365b7a] Slightly smaller and faster code by encapsulating wal-index hash table location information in a separate WalHashLoc object rather than passing around the various elements as separate variables. (check-in: [538a365b7a] user: drh branch: trunk, size: 147151) | |
2018-03-20
| ||
13:52 | [05d9364fef] part of check-in [b0c2f760a6] Merge all recent enhancements from trunk. (check-in: [b0c2f760a6] user: drh branch: begin-concurrent, size: 156724) | |
2018-03-14
| ||
17:17 | [fe01872759] part of check-in [a658f80c8f] Merge the latest enhancements from trunk. (check-in: [a658f80c8f] user: drh branch: apple-osx, size: 148436) | |
2018-03-05
| ||
23:23 | [aa9cffc7a2] part of check-in [e5ce256aa1] Fix walIteratorInit() so that it always leaves the iterator as a NULL pointer if an OOM occurs. This fixes an assertion fault introduced by check-in [044b0b65e716bff]. (check-in: [e5ce256aa1] user: drh branch: trunk, size: 147285) | |
2018-03-02
| ||
17:59 | [b6ad12df14] part of check-in [fb6b793860] Update this branch with recent checkpoint related changes from trunk. (check-in: [fb6b793860] user: dan branch: begin-concurrent, size: 156713) | |
17:40 | [44e8d9f9b4] part of check-in [36801effa9] Merge latest trunk changes into this branch. (check-in: [36801effa9] user: dan branch: begin-concurrent, size: 156542) | |
16:52 | [60e5c938c4] part of check-in [044b0b65e7] In a checkpoint, figure out if it is possible to checkpoint any frames at all before creating the wal-iterator. (check-in: [044b0b65e7] user: dan branch: trunk, size: 147274) | |
15:42 | [6390a0f277] part of check-in [0f5057dffa] Optimize the obscure case of running a checkpoint against a very large wal file for which a large percentage of the frames have already been checkpointed. (check-in: [0f5057dffa] user: dan branch: trunk, size: 147275) | |
2018-02-21
| ||
01:48 | [0ba9af2589] part of check-in [4e61a9731f] Remove an unreachable branch in the walIndexPage() logic. (check-in: [4e61a9731f] user: drh branch: trunk, size: 147103) | |
01:05 | [634908f6bc] part of check-in [52013cad0e] Small performance improvement in sqltie3WalFindFrame(). (check-in: [52013cad0e] user: drh branch: trunk, size: 147135) | |
2018-02-20
| ||
22:20 | [fff06582a9] part of check-in [e2b107141c] Make the walIndexPage() routine about 3x faster by factoring out the seldom used reallocation logic into a separate subroutine. (check-in: [e2b107141c] user: drh branch: trunk, size: 147124) | |
2017-11-28
| ||
13:48 | [605f85c9af] part of check-in [3ec976e015] Merge the snapshots-always-lock-the-wal-file change into this branch. (check-in: [3ec976e015] user: dan branch: apple-osx, size: 147797) | |
13:39 | [5a3f464edd] part of check-in [b81a31495b] Lock the wal file for all snapshot transactions, even if they would not otherwise require this, preventing checkpointers and writers from wrapping the wal file. This means that if one connection has an open snapshot transaction it is guaranteed that a second connection can open a transaction on the same snapshot. (check-in: [b81a31495b] user: dan branch: trunk, size: 146646) | |
2017-11-14
| ||
20:36 | [f940fd2e63] part of check-in [8c2a769c4a] Merge the patch that enables reading a read-only WAL-mode database, without any special query parameters, as long as the -shm and -wal files are on disk. (check-in: [8c2a769c4a] user: drh branch: apple-osx, size: 147865) | |
20:00 | [ec9f4e5d06] part of check-in [1754faefcc] Merge all changes from trunk prior to the read-only WAL enhancement. (check-in: [1754faefcc] user: drh branch: apple-osx, size: 137853) | |
03:42 | [beeb71e4ea] part of check-in [486949fc03] Improvement to a comment. No changes to code. (check-in: [486949fc03] user: drh branch: readonly-wal-recovery, size: 146714) | |
2017-11-13
| ||
05:51 | [31ae1a82af] part of check-in [9c6b38b9a9] Remove some branches in walTryBeginRead() that were added by check-in [ce5d13c2de] but became unreachable with the addition of logic in check-in [18b26843] that enabled read-only clients to parse the WAL file into a heap-memory WAL-index, thus guaranteeing that the WAL-index header is always available. (check-in: [9c6b38b9a9] user: drh branch: readonly-wal-recovery, size: 146490) | |
2017-11-11
| ||
20:11 | [213ddce034] part of check-in [13ec8a77a4] In wal.c: improved comments, new assert() and testcase() macros, and replace some magic numbers with appropriate symbolic constants. (check-in: [13ec8a77a4] user: drh branch: readonly-wal-recovery, size: 146463) | |
13:30 | [0e19d4fbb5] part of check-in [346388007d] Further comment improvements in wal.c. No code changes. (check-in: [346388007d] user: drh branch: readonly-wal-recovery, size: 145719) | |
2017-11-10
| ||
20:00 | [47f8a4493e] part of check-in [d3c25740ee] Improved comments and variable names in the read-only WAL logic. (check-in: [d3c25740ee] user: drh branch: readonly-wal-recovery, size: 145472) | |
2017-11-08
| ||
19:26 | [6903d391b6] part of check-in [033ee92bf4] Extra comments on the sqlite3OsShmMap() call in walBeginUnlocked(). No changes to code. (check-in: [033ee92bf4] user: drh branch: readonly-wal-recovery, size: 144046) | |
17:32 | [b1fef64a24] part of check-in [6d7f94faa7] Change the name of SQLITE_READONLY_CANTLOCK to SQLITE_READONLY_CANTINIT. (check-in: [6d7f94faa7] user: drh branch: readonly-wal-recovery, size: 143499) | |
2017-11-07
| ||
21:25 | [6227c952d8] part of check-in [94527b897b] Update an assert in wal.c. (check-in: [94527b897b] user: dan branch: readonly-wal-recovery, size: 143499) | |
21:15 | [b3cd00a165] part of check-in [5a6703fc3f] Handle the race condition that may occur if another process connects and then checkpoints and truncates the wal file while a readonly-shm client is building its heap-memory wal-index. (check-in: [5a6703fc3f] user: dan branch: readonly-wal-recovery, size: 143469) | |
2017-11-06
| ||
20:02 | [a0f3b4c92f] part of check-in [7f217edab4] Merge latest trunk changes into this branch. (check-in: [7f217edab4] user: dan branch: begin-concurrent, size: 146141) | |
19:49 | [32ee655080] part of check-in [71af9acb22] Add further test cases for the new code on this branch. And a couple of fixes. (check-in: [71af9acb22] user: dan branch: readonly-wal-recovery, size: 143329) | |
2017-11-04
| ||
21:06 | [0b3c6b805f] part of check-in [a6716fcde3] Add further tests for the code added on this branch. (check-in: [a6716fcde3] user: dan branch: readonly-wal-recovery, size: 143595) | |
18:10 | [2b287b5250] part of check-in [18b268433d] In cases where a readonly_shm client cannot take the DMS lock on the *-shm file, have it parse the wal file and create a wal-index to access it in heap memory. (check-in: [18b268433d] user: dan branch: readonly-wal-recovery, size: 143268) | |
2017-11-03
| ||
19:34 | [298acb2281] part of check-in [cbec1bfe4b] Fix some comments in new code on this branch. No changes to code. (check-in: [cbec1bfe4b] user: dan branch: fcntl_shm_read, size: 141319) | |
17:17 | [84172f8556] part of check-in [9b0d5c4ff7] Allow readonly_shm connections to access the *-shm file using read() even if it is unable to take a DMS lock. (check-in: [9b0d5c4ff7] user: dan branch: fcntl_shm_read, size: 141244) | |
2017-11-02
| ||
11:12 | [38480e7bdc] part of check-in [5190d84a29] Avoid locking shm-lock WAL_READ_LOCK(0) during recovery. Doing this allows recovery to proceed while a readonly_shm connection in unlocked mode has an ongoing read transaction. (check-in: [5190d84a29] user: dan branch: readonly-wal-recovery, size: 137287) | |
2017-11-01
| ||
20:59 | [1521bdcfe9] part of check-in [ce5d13c2de] If a readonly_shm connection cannot map the *-shm file because no other process is holding the DMS lock, have it read from the database file only, ignoring any content in the wal file. (check-in: [ce5d13c2de] user: dan branch: readonly-wal-recovery, size: 137104) | |
2017-10-31
| ||
12:06 | [cc9b1120f1] part of check-in [5f79e6d9c3] Fix a minor comment typo. No changes to code. (check-in: [5f79e6d9c3] user: drh branch: trunk, size: 136702) | |
2017-10-30
| ||
20:44 | [712947ad0e] part of check-in [3be3aad9ec] Clarify some comments describing the WAL index file. No changes to code. (check-in: [3be3aad9ec] user: drh branch: trunk, size: 136703) | |
2017-10-09
| ||
19:49 | [c025455c9d] part of check-in [9c80cd202f] Add a header comment to wal.c describing the differences between wal and wal2 mode. (check-in: [9c80cd202f] user: dan branch: wal2, size: 164334) | |
2017-10-07
| ||
19:55 | [11314f64ed] part of check-in [f7360fad51] Ignore the *-wal2 file if the *-wal file is zero bytes in size. (check-in: [f7360fad51] user: dan branch: wal2, size: 156820) | |
2017-10-06
| ||
14:08 | [287feccc5c] part of check-in [9e1502e1b6] Fix a bug in recovering wal2 mode databases introduced by the previous commit. (check-in: [9e1502e1b6] user: dan branch: wal2, size: 156268) | |
13:43 | [1fdb379a36] part of check-in [a4b02bc938] Fix frame overwriting in wal2 mode. (check-in: [a4b02bc938] user: dan branch: wal2, size: 156298) | |
2017-10-05
| ||
18:14 | [3455865cef] part of check-in [16decc13af] Fix test case failures on this branch. (check-in: [16decc13af] user: dan branch: wal2, size: 156262) | |
2017-10-04
| ||
20:57 | [5ca528539a] part of check-in [e2fc5c814c] Add experimental mode that uses two wal files. Activated using "PRAGMA journal_mode = wal2". (check-in: [e2fc5c814c] user: dan branch: wal2, size: 155952) | |
2017-09-23
| ||
07:46 | [0ceefa9f2a] part of check-in [d71eeaab9e] Experimental change so that snapshot transactions always lock the wal file - preventing writers or truncate-checkpointers from wrapping it. (check-in: [d71eeaab9e] user: dan branch: snapshots-lock-wal, size: 135921) | |
2017-09-21
| ||
14:03 | [0f3fc40592] part of check-in [3fbfa9a8e8] The sqlite3_snapshot_describe() interface useful for debugging snapshot logic. (check-in: [3fbfa9a8e8] user: drh branch: sqlite3_snapshot_describe, size: 136514) | |
2017-09-09
| ||
08:03 | [2a205ec9c9] part of check-in [e63d1a7cd3] Use a mutex-free PRNG for the random() and randomblob() SQL functions and for the randomness used during checkpoint operations. (check-in: [e63d1a7cd3] user: drh branch: mutex-free-randomness, size: 136136) | |
06:10 | [e56b8fe5ae] part of check-in [6a0b9d9d4e] Merge trunk enhancements (check-in: [6a0b9d9d4e] user: drh branch: apple-osx, size: 137140) | |
2017-08-28
| ||
17:19 | [e439b1235b] part of check-in [d53108e763] Merge recent enhancements from trunk. (check-in: [d53108e763] user: drh branch: begin-concurrent, size: 145428) | |
2017-08-25
| ||
01:14 | [839db09792] part of check-in [bf65dae8d4] Update the mechanism used to keep track of what kind of syncing to do for WAL transaction commits and checkpoint operations. Use the checkpoint-style of syncing to sync the header of a new or restarted WAL file. (check-in: [bf65dae8d4] user: drh branch: wal-sync-refactor, size: 135989) | |
2017-08-24
| ||
20:54 | [4c7c13a3c0] part of check-in [25292b9a4e] Fix an incorrect hyperlink in a comment. (check-in: [25292b9a4e] user: drh branch: trunk, size: 136056) | |
2017-08-11
| ||
21:16 | [ab94c3cc7b] part of check-in [38dd9b50fe] Fix a problem allowing a conflicting transaction to be committed in the case where more than one 32KB shared-memory page has been written to since the transaction was started. (check-in: [38dd9b50fe] user: dan branch: begin-concurrent, size: 145500) | |
2017-07-20
| ||
19:08 | [57c8c07204] part of check-in [44c760d150] Fix compiler warnings. (check-in: [44c760d150] user: drh branch: begin-concurrent, size: 145489) | |
2017-07-08
| ||
20:46 | [1b208938ba] part of check-in [5a043aa8dd] Support read-only MVCC transactions in server-mode. Started using "BEGIN READONLY". (check-in: [5a043aa8dd] user: dan branch: server-process-edition, size: 138422) | |
2017-05-29
| ||
19:23 | [e006353c35] part of check-in [9ad846e57b] Instead of a root page number, log the object (table or index) name if a page level locking conflict is detected. (check-in: [9ad846e57b] user: dan branch: begin-concurrent, size: 145448) | |
14:27 | [4b857e7454] part of check-in [92618492b0] Enhance the log messages emitted when a page conflict is detected. (check-in: [92618492b0] user: dan branch: begin-concurrent, size: 146212) | |
2017-05-23
| ||
19:23 | [0c4faf368f] part of check-in [5b9d498f6e] Add experimental new API sqlite3_wal_info(). (check-in: [5b9d498f6e] user: dan branch: begin-concurrent, size: 145545) | |
2017-05-15
| ||
19:32 | [8f71654244] part of check-in [9b7f80246f] Avoid writer starvation by adding a RESERVED state to page locks. (check-in: [9b7f80246f] user: dan branch: server-edition, size: 138419) | |
2017-05-13
| ||
19:07 | [bbf37fd26c] part of check-in [a38858a24c] Avoid running recovery while there is another read/write client. (check-in: [a38858a24c] user: dan branch: server-edition, size: 138264) | |
2017-05-12
| ||
18:52 | [c2c7289acf] part of check-in [cbf44ed975] Require exclusive access to the db to wrap the wal file. Have "PRAGMA wal_checkpoint = restart" block for this. (check-in: [cbf44ed975] user: dan branch: server-edition, size: 137817) | |
2017-05-10
| ||
16:18 | [b78eab7bb4] part of check-in [2584df3d42] Fix a problem causing a lock to be held past the end of a transaction. Use a blocking lock to take the read-lock on page 1 taken by all transactions. (check-in: [2584df3d42] user: dan branch: server-edition, size: 137350) | |
13:46 | [8db0fb216f] part of check-in [4464ca1d68] Use a blocking call to obtain the wal-mode WRITER lock in some cases. (check-in: [4464ca1d68] user: dan branch: server-edition, size: 137336) | |
2017-05-09
| ||
16:32 | [85d564ebec] part of check-in [270b7d1eac] Fix a problem with wrapping the log file in server mode. (check-in: [270b7d1eac] user: dan branch: server-edition, size: 137169) | |
2017-05-08
| ||
20:15 | [126aadd32e] part of check-in [b733afc1d0] Add some support for wal mode to the hack on this branch. (check-in: [b733afc1d0] user: dan branch: server-edition, size: 137064) | |
2017-01-09
| ||
06:33 | [2858e71b30] part of check-in [d0e212d08f] Upgrade this branch to 3.16 plus the various fixes that appeared after its release. (check-in: [d0e212d08f] user: dan branch: begin-concurrent, size: 145133) | |
2016-11-26
| ||
20:44 | [dad2233125] part of check-in [41a3af5443] Merge all recent trunk changes, and especially the new sqlite3_snapshot_recover() interface. (check-in: [41a3af5443] user: drh branch: apple-osx, size: 137212) | |
2016-11-22
| ||
21:11 | [40c543f0a2] part of check-in [e7be3183eb] Enclose the sqlite3WalSnapshotRecover() routine within (check-in: [e7be3183eb] user: drh branch: serializable-snapshot, size: 136061) | |
2016-11-19
| ||
18:31 | [56bba6f410] part of check-in [28393c413c] Remove the requirement to open the wal file before sqlite3_snapshot_recover() is called. Also add some comments to new functions. (check-in: [28393c413c] user: dan branch: serializable-snapshot, size: 135995) | |
16:35 | [006eec6087] part of check-in [525f75fa9f] Fix a problem causing sqlite3_snapshot_recover() to return SQLITE_IOERR_SHORT_READ. (check-in: [525f75fa9f] user: dan branch: serializable-snapshot, size: 135606) | |
14:53 | [df90cfbeb8] part of check-in [9abeb7980a] Fix a bug in sqlite3_snapshot_recover() that could cause subsequent read transactions to use out-of-data cache entries. (check-in: [9abeb7980a] user: dan branch: serializable-snapshot, size: 135340) | |
2016-11-18
| ||
20:49 | [5ef877f34c] part of check-in [174a6076a8] Add experimental sqlite3_snapshot_recover() API. (check-in: [174a6076a8] user: dan branch: serializable-snapshot, size: 135044) | |
2016-11-15
| ||
17:37 | [88f8d8adca] part of check-in [b6a81fa1fc] Experimental changes toward making snapshots serializable. (check-in: [b6a81fa1fc] user: drh branch: serializable-snapshot, size: 133121) | |
2016-11-11
| ||
17:08 | [7e8557314b] part of check-in [46e0016207] Fix a problem with switching from wal to rollback mode when SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE is configured. (check-in: [46e0016207] user: dan branch: trunk, size: 132970) | |
2016-11-04
| ||
19:09 | [b782fa386a] part of check-in [0e5ffd9123] Merge recent trunk changes, including all the fixes that appeared in version 3.15.1. (check-in: [0e5ffd9123] user: drh branch: apple-osx, size: 134152) | |
2016-10-31
| ||
16:16 | [358ab4d296] part of check-in [093d2fc228] Add the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE sqlite3_dbconfig() option - for disabling SQLite's default checkpoint-on-close behaviour. (check-in: [093d2fc228] user: dan branch: no-ckpt-on-close, size: 133001) | |
2016-08-12
| ||
16:21 | [0b44e89742] part of check-in [8a5f41c7b1] Have wal file checkpoints exit early if the sqlite3_interrupt() API function is called. (check-in: [8a5f41c7b1] user: dan branch: interruptible-checkpoint, size: 132956) | |
2016-08-11
| ||
19:12 | [8605bf47b9] part of check-in [d9f8918c5b] Merge version 3.14 plus some subsequent patches (including the page-cache performance patch) from trunk. (check-in: [d9f8918c5b] user: drh branch: begin-concurrent, size: 141675) | |
2016-08-04
| ||
14:08 | [430abe09fd] part of check-in [491f1ef36e] Add extra logging calls to this branch. (check-in: [491f1ef36e] user: dan branch: debug, size: 119190) | |
2016-07-16
| ||
11:47 | [e77da6efff] part of check-in [613c1ceaf4] Temporarily add extra sqlite3_log() calls to this version to help with debugging a performance problem. (check-in: [613c1ceaf4] user: dan branch: debug, size: 119037) | |
2016-06-15
| ||
10:21 | [25bc1cea2a] part of check-in [0f707d1532] Merge changes from trunk. (check-in: [0f707d1532] user: drh branch: apple-osx, size: 133754) | |
2016-05-24
| ||
16:20 | [02eeecc265] part of check-in [37de3eab67] Fix an obscure problem with transactions written in "PRAGMA synchronous=full" mode on systems that do not support POWERSAFE_OVERWRITE causing an xSync() call to be omitted if the last frame written by a transaction is aligned to a sector boundary. This means that if a power failure or OS crash occurs very soon after such a transaction is committed, it may be lost following system recovery. (check-in: [37de3eab67] user: dan branch: trunk, size: 132603) | |
2016-04-21
| ||
15:35 | [5c7bde7a5f] part of check-in [a15c49aed0] Merge all recent enhancements from trunk. (check-in: [a15c49aed0] user: drh branch: apple-osx, size: 133628) | |
2016-04-20
| ||
12:16 | [69cbc05af0] part of check-in [1f709fbf93] Merge all recent enhancements from trunk. (check-in: [1f709fbf93] user: drh branch: begin-concurrent, size: 141549) | |
2016-04-11
| ||
19:59 | [4db22ed7e7] part of check-in [c698a21af7] Add the sqlite3_snapshot_cmp() API. (check-in: [c698a21af7] user: dan branch: snapshot-cmp, size: 132477) | |
2016-03-16
| ||
19:34 | [12931b1b6d] part of check-in [a7978ab6d2] Merge the latest enhancements from trunk. (check-in: [a7978ab6d2] user: drh branch: begin-concurrent, size: 140904) | |
2016-03-08
| ||
16:35 | [c09752caff] part of check-in [2974194123] Merge changes from trunk, especially the SQLITE_DEFAULT_SYNCHRONOUS enhancements. (check-in: [2974194123] user: drh branch: apple-osx, size: 132983) | |
2016-02-18
| ||
01:36 | [0eaa33b32c] part of check-in [b7fa0fb339] Merge recent performance enhancements and the enhanced API_ARMOR from trunk. (check-in: [b7fa0fb339] user: drh branch: apple-osx, size: 132996) | |
01:22 | [f55f9f4e51] part of check-in [7bcd3ab5f0] Memory leak associated with SQLITE_WRITE_WALFRAME_PREBUFFERED (check-in: [7bcd3ab5f0] user: drh branch: apple-osx, size: 132951) | |
2016-02-15
| ||
18:15 | [10deb6b438] part of check-in [9b3454762d] Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors. Only effective with compiling with SQLITE_DEBUG. (check-in: [9b3454762d] user: drh branch: trunk, size: 131832) | |
17:44 | [68eb8a4a28] part of check-in [c393ddc71a] Merge version 3.11.0 (check-in: [c393ddc71a] user: drh branch: begin-concurrent, size: 140859) | |
17:40 | [459a1287ca] part of check-in [5cecc509d0] Merge 3.11.0 changes. (check-in: [5cecc509d0] user: drh branch: apple-osx, size: 132753) | |
15:06 | [1dd3f1aeed] part of check-in [f694e60a79] Make sure the codec is invoked when overwriting existing frames of the WAL file. Yikes! (check-in: [f694e60a79] user: drh branch: trunk, size: 131787) | |
2016-02-13
| ||
23:43 | [75a8e53f17] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 131676) | |
2016-01-14
| ||
15:46 | [2390cb2e5c] part of check-in [fccc5f20c3] Merge the latest enhancements and fixes from trunk. (check-in: [fccc5f20c3] user: dan branch: begin-concurrent, size: 140703) | |
15:03 | [9bd7a20c65] part of check-in [d85774e0dc] Merge the latest enhancements and fixes from trunk. (check-in: [d85774e0dc] user: drh branch: apple-osx, size: 132597) | |
2016-01-13
| ||
18:12 | [d21b99fd14] part of check-in [ad3daa5427] Add the SQLITE_FCNTL_JOURNAL_POINTER file control. (check-in: [ad3daa5427] user: drh branch: trunk, size: 131631) | |
2016-01-12
| ||
02:28 | [ec116eb4dd] part of check-in [1f44a9bdc1] Make sure all bytes of the WAL file are initialized even if the checksums are not being computed until commit due to WAL overwrite. (check-in: [1f44a9bdc1] user: drh branch: trunk, size: 131510) | |
2016-01-11
| ||
12:49 | [82dec8065d] part of check-in [79125ec9d2] Merge enhancements from trunk, and in particular the WAL overwrite feature. (check-in: [79125ec9d2] user: drh branch: apple-osx, size: 132607) | |
00:52 | [92ca9e7923] part of check-in [e83d3a2a4e] Improved testability. (check-in: [e83d3a2a4e] user: drh branch: wal-overwrite-frames, size: 131470) | |
2016-01-09
| ||
23:55 | [e1f55f68a7] part of check-in [99b31a6b49] All WAL frame overwrites even if there are active savepoints. This is safe because a ROLLBACK TO will cause all reverted pages to be rewritten to the WAL file prior to COMMIT. (check-in: [99b31a6b49] user: drh branch: wal-overwrite-frames, size: 131442) | |
18:57 | [38ca0c41b5] part of check-in [16b34f2537] If it is known that checksums will be recalculated on transaction commit, skip calculating checksums when appending frames to the wal file. When recalculating checksums, recalculate them starting with the first overwritten frame - not the first frame in the transaction. (check-in: [16b34f2537] user: dan branch: wal-overwrite-frames, size: 131509) | |
16:39 | [88661c24c8] part of check-in [5d113aef2c] If a single page is written to the wal file more than once, have each subsequent copy overwrite the original frame. (check-in: [5d113aef2c] user: dan branch: wal-overwrite-frames, size: 131734) | |
2016-01-08
| ||
02:27 | [407f6f3929] part of check-in [a02ace9a74] Add the experimental SQLITE_FCNTL_JOURNAL_POINTER file control for obtaining the sqlite3_file pointer associated with a rollback journal or WAL file. (check-in: [a02ace9a74] user: drh branch: file-control-journal, size: 127938) | |
2016-01-01
| ||
13:31 | [b08004315d] part of check-in [5b700f313d] Merge all recent trunk enhancements. (check-in: [5b700f313d] user: drh branch: apple-osx, size: 128954) | |
2015-12-16
| ||
19:55 | [773ba7c089] part of check-in [cb22efaf50] Merge recent enhancements from trunk. (check-in: [cb22efaf50] user: drh branch: begin-concurrent, size: 136911) | |
2015-12-11
| ||
14:59 | [974928c988] part of check-in [d8a12023be] Add a new assert() statement to the snapshot-specific part of sqlite3WalBeginReadTrans(). (check-in: [d8a12023be] user: dan branch: trunk, size: 127817) | |
12:53 | [360acd6c7c] part of check-in [7e7b240645] Merge recent trunk enhancements, and in particular the snapshot interface. (check-in: [7e7b240645] user: drh branch: apple-osx, size: 128916) | |
03:16 | [cb709aa42f] part of check-in [93fb8010e4] Fix a variable type mismatch problem in the snapshot logic. (check-in: [93fb8010e4] user: drh branch: snapshot-get, size: 127779) | |
01:22 | [9f6568377a] part of check-in [767ee30efa] Fix a bad assert related to snapshots. (check-in: [767ee30efa] user: drh branch: snapshot-get, size: 127779) | |
2015-12-10
| ||
22:48 | [4ecd256ad5] part of check-in [ef51a398a0] Snapshot documentation updates. Comment changes only - no changes to code. (check-in: [ef51a398a0] user: drh branch: snapshot-get, size: 127755) | |
19:11 | [94576d273e] part of check-in [5343060bcc] Return SQLITE_BUSY (not SQLITE_BUSY_SNAPSHOT) if sqlite3_snapshot_open() fails to obtain the shared checkpointer lock. (check-in: [5343060bcc] user: dan branch: snapshot-get, size: 127526) | |
15:45 | [32ee7dc4b6] part of check-in [8084eae0bc] Have sqlite3_snapshot_open() avoid a race condition by taking a shared CHECKPOINTER lock while checking pInfo->nBackfillAttempted. (check-in: [8084eae0bc] user: dan branch: snapshot-get, size: 127460) | |
03:16 | [964af61902] part of check-in [3a18526fc2] Fix spacing typo in comment. No changes to code. (check-in: [3a18526fc2] user: mistachkin branch: snapshot-get, size: 126663) | |
02:15 | [115765a38f] part of check-in [cb68e9d073] Add the nBackfillAttempted field in formerly unused space in WalCkptInfo and use that field to close the race condition on opening a snapshot. (check-in: [cb68e9d073] user: drh branch: snapshot-get, size: 126663) | |
2015-12-09
| ||
20:05 | [0bd8aa8e0d] part of check-in [7315f7cbf4] Update sqlite3_snapshot_open() to reduce the chances of reading a corrupt snapshot created by a checkpointer process exiting unexpectedly. (check-in: [7315f7cbf4] user: dan branch: snapshot-get, size: 126649) | |
2015-12-07
| ||
14:33 | [abce669053] part of check-in [502cc6f353] Add tests for snapshot_get(), _open() and _free(). (check-in: [502cc6f353] user: dan branch: snapshot-get, size: 124547) | |
2015-12-05
| ||
20:51 | [b9b1d5a1dd] part of check-in [0715eb00aa] Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free(). (check-in: [0715eb00aa] user: dan branch: snapshot-get, size: 124502) | |
2015-12-02
| ||
20:53 | [bacf8a69cf] part of check-in [9130661a78] Merge recent enhancements from trunk. (check-in: [9130661a78] user: drh branch: begin-concurrent, size: 131598) | |
20:22 | [e93f9b7fdf] part of check-in [e1fb33c7d2] Merge all recent trunk enhancements, especially the unix VFS changes. (check-in: [e1fb33c7d2] user: drh branch: apple-osx, size: 123641) | |
16:10 | [1569802364] part of check-in [58c15c6af9] Remove more (dead) SQLITE_FCNTL_WAL_BLOCK logic from wal.c - code that was missed during the [e1d5320ca08933] check-in. (check-in: [58c15c6af9] user: drh branch: trunk, size: 122504) | |
2015-09-15
| ||
19:16 | [fd2351d771] part of check-in [fc4d1de8ae] Merge enhancements from trunk. (check-in: [fc4d1de8ae] user: drh branch: begin-concurrent, size: 131708) | |
17:20 | [929c1d7e2d] part of check-in [f12b8a0f79] Merge trunk enhancements into the apple-osx branch. (check-in: [f12b8a0f79] user: drh branch: apple-osx, size: 123751) | |
2015-09-09
| ||
19:44 | [18b0ed4983] part of check-in [8d2ed150a7] Fix an assert() enabled by SQLITE_ENABLE_EXPENSIVE_ASSERT in wal.c. (check-in: [8d2ed150a7] user: dan branch: trunk, size: 122614) | |
2015-09-03
| ||
15:17 | [5a86298540] part of check-in [f8ae9bfd05] Changes from ENABLE_CONCURRENT (default off) to OMIT_CONCURRENT (default on). This is not a clear-cut decision and might be changed back. (check-in: [f8ae9bfd05] user: drh branch: begin-concurrent, size: 131662) | |
2015-09-01
| ||
18:40 | [d973cff457] part of check-in [4af79477fd] Merge the latest trunk enhancements. (check-in: [4af79477fd] user: drh branch: apple-osx, size: 123705) | |
18:01 | [00352cb9d2] part of check-in [3dea047465] Merge the latest trunk enhancements. (check-in: [3dea047465] user: drh branch: begin-concurrent, size: 131629) | |
17:48 | [d632ee3334] part of check-in [5ed2a445a1] Fixes so that it builds without warnings both with and without SQLITE_ENABLE_CONCURRENT. (check-in: [5ed2a445a1] user: drh branch: begin-concurrent, size: 130488) | |
2015-08-28
| ||
02:12 | [22a901a0af] part of check-in [da8646582a] Merge trunk enhancements into the apple-osx branch. Most tests works, but there are yet a few issues to be resolved. (check-in: [da8646582a] user: drh branch: apple-osx, size: 122564) | |
2015-08-26
| ||
18:02 | [44ec009f77] part of check-in [a0566382d5] Fix a problem allowing some conflicting transactions to be committed. (check-in: [a0566382d5] user: dan branch: begin-concurrent, size: 130495) | |
2015-08-24
| ||
19:56 | [a21412a803] part of check-in [ba1ab858e2] Change "BEGIN UNLOCKED" to "BEGIN CONCURRENT". (check-in: [ba1ab858e2] user: dan branch: begin-concurrent, size: 130478) | |
19:08 | [fd9a3b9fa7] part of check-in [5b9f272113] Fix handling of attempts to modify the database schema, application_id or user_version within an UNLOCKED transaction. (check-in: [5b9f272113] user: dan branch: begin-concurrent, size: 130454) | |
16:00 | [7b8c8d1cb0] part of check-in [0411355754] Fix compilation without SQLITE_ENABLE_UNLOCKED. Also other code organization issues. (check-in: [0411355754] user: dan branch: begin-concurrent, size: 129767) | |
06:43 | [b8811f666d] part of check-in [4460764ea8] Fix another problem involving unlocked transactions and wal-file restarts. (check-in: [4460764ea8] user: dan branch: begin-concurrent, size: 127984) | |
2015-08-22
| ||
20:32 | [4c69d27ed7] part of check-in [e3968b2562] Fix a problem to do with detecting unlocked transaction conflicts if another client restarts the wal while the transaction is running. (check-in: [e3968b2562] user: dan branch: begin-concurrent, size: 126593) | |
2015-08-21
| ||
20:11 | [0ba4899f02] part of check-in [53aaeea6c9] Fix many minor issues in the unlocked transaction code. (check-in: [53aaeea6c9] user: dan branch: begin-concurrent, size: 126680) | |
14:21 | [37b25bbb52] part of check-in [82cd837e72] Add extra tests and a fix for rollbacks of UNLOCKED transactions. (check-in: [82cd837e72] user: dan branch: begin-concurrent, size: 127553) | |
2015-08-19
| ||
20:27 | [8bb1130dc1] part of check-in [3bbc31d515] When committing an unlocked transaction, relocate newly allocated database pages within the file to avoid conflicting with committed transactions. There are lots of things still to fix in this code. (check-in: [3bbc31d515] user: dan branch: begin-concurrent, size: 126565) | |
2015-08-13
| ||
20:23 | [8cd07f1f99] part of check-in [90760e7232] When searching the wal file for a frame, do not search that part that was already checkpointed when the snapshot being read was at the head of the wal file. (check-in: [90760e7232] user: dan branch: wal-read-change, size: 122568) | |
2015-08-12
| ||
19:42 | [9eb487483e] part of check-in [5669ac4a40] Avoid reading frames that have already been checkpointed from the wal file. (check-in: [5669ac4a40] user: dan branch: wal-read-change, size: 121576) | |
2015-07-29
| ||
12:14 | [4497b466fe] part of check-in [0b9718426e] Only allow UNLOCKED transactions to commit if none of the pages read by the transaction have been modified since it was opened. (check-in: [0b9718426e] user: dan branch: begin-concurrent, size: 126360) | |
2015-07-28
| ||
16:46 | [a2e35f0421] part of check-in [6da0e962ad] Add some test cases and fix some small problems with BEGIN UNLOCKED transactions. (check-in: [6da0e962ad] user: dan branch: begin-concurrent, size: 127232) | |
2015-07-27
| ||
19:31 | [d588e26ed0] part of check-in [8079421604] Add an experimental "BEGIN UNLOCKED" command. (check-in: [8079421604] user: dan branch: begin-concurrent, size: 125712) | |
2015-07-21
| ||
19:22 | [6fb6b68969] part of check-in [01c8b9ccfa] Fix harmless compiler warning in MSVC 2015. (check-in: [01c8b9ccfa] user: mistachkin branch: trunk, size: 121427) | |
2015-07-17
| ||
01:16 | [590e85f3b2] part of check-in [2288842b8f] Avoid a harmless compiler warning. (check-in: [2288842b8f] user: drh branch: trunk, size: 121427) | |
2015-07-15
| ||
18:35 | [6c9354c724] part of check-in [110cd84f5e] Fix some harmless compiler warnings. (check-in: [110cd84f5e] user: drh branch: trunk, size: 121419) | |
2015-04-29
| ||
16:50 | [ce2cb2d06f] part of check-in [48f553b05c] Use sqlite3_malloc64() in place of sqlite3_malloc() internally. (check-in: [48f553b05c] user: drh branch: trunk, size: 121325) | |
2015-04-13
| ||
23:11 | [de15f46df1] part of check-in [e709d3b4e7] Merge all recent trunk enhances into the apple-osx branch. (check-in: [e709d3b4e7] user: drh branch: apple-osx, size: 122454) | |
17:43 | [753995db83] part of check-in [bc33af8664] Add a comment to wal.c to explain why a race condition is safe. (check-in: [bc33af8664] user: dan branch: trunk, size: 121317) | |
2015-03-17
| ||
18:35 | [5351d6e7c7] part of check-in [8abbeadbc0] Merge all recent trunk changes, and in particular the blocking WAL lock change, into the apple-osx branch. (check-in: [8abbeadbc0] user: drh branch: apple-osx, size: 121926) | |
2015-03-10
| ||
20:22 | [878c8e1a51] part of check-in [c6e6d5f4e0] Arrange for some of the transient locks in WAL mode to block, as a single to the OS to fix priority inversions. (check-in: [c6e6d5f4e0] user: drh branch: wal-blocking-lock, size: 120789) | |
2015-02-07
| ||
19:17 | [7a8a4e7a40] part of check-in [8ac58e4678] Remove "PRAGMA pager_ota_mode". (check-in: [8ac58e4678] user: dan branch: ota-update-no-pager_ota_mode, size: 129029) | |
2015-02-06
| ||
16:03 | [61a28dad1a] part of check-in [44711921fe] Merge all recent trunk enhancements into the apple-osx branch. (check-in: [44711921fe] user: drh branch: apple-osx, size: 121816) | |
2015-01-30
| ||
16:36 | [735d081f73] part of check-in [36436dde74] Merge all recent trunk changes, and especially the SQLITE_TESTCTRL_INITMODE enhancement. (check-in: [36436dde74] user: drh branch: ota-update, size: 129055) | |
2015-01-29
| ||
19:12 | [39303f2c9d] part of check-in [53429689d4] Ensure that "PRAGMA wal_checkpoint = TRUNCATE|FULL|RESTART" block on other connections and truncate the wal file as required even if the entire wal file has already been checkpointed. (check-in: [53429689d4] user: dan branch: trunk, size: 120679) | |
2015-01-28
| ||
15:30 | [4d1a785a9e] part of check-in [f270004016] When a "full", "restart" or "truncate" checkpoint is attempted, return SQLITE_BUSY if a reader prevents the checkpointer from copying any frames at all into the database file. (check-in: [f270004016] user: dan branch: ota-update, size: 129050) | |
12:27 | [e4779a5ce3] part of check-in [8e878c2023] Correctly detect errors returned by walCheckpointStart() due to OOM. (check-in: [8e878c2023] user: drh branch: ota-update, size: 129008) | |
12:00 | [0d9591fdec] part of check-in [17c69be805] Merge in all changes from trunk. (check-in: [17c69be805] user: drh branch: ota-update, size: 129018) | |
2015-01-02
| ||
19:17 | [895b26c4c5] part of check-in [df3cdf9f06] Merge the latest changes from trunk into the apple-osx branch. (check-in: [df3cdf9f06] user: drh branch: apple-osx, size: 121632) | |
2014-12-29
| ||
11:50 | [85353539f2] part of check-in [95ce20348d] Reinstate an assert() by adding an "|| CORRUPT_DB" term. (check-in: [95ce20348d] user: drh branch: trunk, size: 120495) | |
2014-12-08
| ||
07:50 | [632d9afe19] part of check-in [69a312ad3f] Update this branch with latest trunk changes. (check-in: [69a312ad3f] user: dan branch: ota-update, size: 129045) | |
2014-12-04
| ||
23:42 | [75f2d8b18c] part of check-in [463ad971d2] Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for a couple of obscure bugs. (check-in: [463ad971d2] user: drh branch: apple-osx, size: 121659) | |
04:50 | [847692349e] part of check-in [7475b90c55] Add an implementation mark and fix a comment describing the OP_Checkpoint opcode. (check-in: [7475b90c55] user: drh branch: trunk, size: 120522) | |
2014-12-03
| ||
19:25 | [fc62ec9dc7] part of check-in [b2da8afc76] Add evidence marks and assert()s used as evidence for checkpoint requirements. (check-in: [b2da8afc76] user: drh branch: trunk, size: 120395) | |
2014-12-02
| ||
19:35 | [e396f31038] part of check-in [6ee08769f0] When attempting to restart a wal file, make any required calls to sqlite3_randomness() before waiting on or checking for wal file readers. This restores the behaviour exhibited by the trunk. (check-in: [6ee08769f0] user: dan branch: checkpoint-truncate, size: 119875) | |
19:04 | [f09818db7b] part of check-in [8e20a43419] Add the SQLITE_CHECKPOINT_TRUNCATE option. (check-in: [8e20a43419] user: dan branch: checkpoint-truncate, size: 119599) | |
16:38 | [d7c4c36a21] part of check-in [43c4ba26a2] Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. (check-in: [43c4ba26a2] user: drh branch: apple-osx, size: 119281) | |
2014-11-22
| ||
09:09 | [d5c581b635] part of check-in [600cefdd4d] Add SQLITE_ENABLE_OTA pre-processor directives so that this branch may be compiled with or without OTA. (check-in: [600cefdd4d] user: dan branch: ota-update, size: 126666) | |
2014-11-21
| ||
14:37 | [e8fe2d73c4] part of check-in [7ef44c5b5b] Merge latest trunk changes with this branch. (check-in: [7ef44c5b5b] user: dan branch: ota-update, size: 124472) | |
2014-11-19
| ||
14:05 | [486e644b3b] part of check-in [9ed97a85fe] Add an ALWAYS on an always-true branch in wal.c. Fix the ANALYZE command so that it resets the "unordered" and "noskipscan" flags on indices when reloading the sqlite_stat1 table. (check-in: [9ed97a85fe] user: drh branch: trunk, size: 118144) | |
2014-11-18
| ||
21:27 | [bb8e3f9adf] part of check-in [ccb601f6df] Merge recent trunk enhancements. (check-in: [ccb601f6df] user: drh branch: apple-osx, size: 119273) | |
02:44 | [095d41f711] part of check-in [c5eae8a60d] Add an ALWAYS() to an always-true conditional in the WAL rollback logic. (check-in: [c5eae8a60d] user: drh branch: branch-3.8.7, size: 118168) | |
2014-11-11
| ||
22:55 | [73051f1222] part of check-in [d4b2d5d066] Enhance ROLLBACK so that pending queries are allowed to continue as long as the schema does not change. This is a cherry-pick of check-in [b5df5ac052]. (check-in: [d4b2d5d066] user: drh branch: branch-3.8.7, size: 118160) | |
01:33 | [fa09096614] part of check-in [fa6e6a9ae2] Experimental changes that permit read operations to continue after a ROLLBACK, as long as the schema is unchanged. (check-in: [fa6e6a9ae2] user: drh branch: read-after-rollback, size: 118136) | |
2014-11-04
| ||
14:22 | [825c948066] part of check-in [391c9b85ab] Change the definition of SQLITE_CONFIG_SCRATCH so that at most one scratch buffer is used per thread. Use the generic heap memory allocator for the WalIterator object when running a checkpoint. (check-in: [391c9b85ab] user: drh branch: trunk, size: 118171) | |
2014-10-22
| ||
15:33 | [2787dfceb2] part of check-in [ec7321ae48] Add tests to check error handling in OTA. (check-in: [ec7321ae48] user: dan branch: ota-update, size: 124523) | |
11:30 | [99c5b0a68e] part of check-in [e2729d623c] Sync the database file in sqlite3_ckpt_close(), even if the checkpoint has not finished. (check-in: [e2729d623c] user: dan branch: ota-update, size: 124512) | |
2014-10-21
| ||
19:35 | [cbce609ec3] part of check-in [6fd09854fe] Test that sqlite3ota_open() works with URI paths. Fix some other issues. (check-in: [6fd09854fe] user: dan branch: ota-update, size: 124352) | |
2014-10-20
| ||
16:24 | [a5dbbbd8ce] part of check-in [0bf1301aac] Have the ota extension perform an incremental checkpoint after generating the wal file. (check-in: [0bf1301aac] user: dan branch: ota-update, size: 124304) | |
2014-09-21
| ||
23:08 | [1c4bcbbe80] part of check-in [3967ebe83e] Merge in all recent changes from trunk. (check-in: [3967ebe83e] user: drh branch: apple-osx, size: 119332) | |
2014-09-16
| ||
20:02 | [8bd0ced6cf] part of check-in [decaccc37c] Clarify the effects of the pager_ota_mode pragma. Add tests and fixes for the same. (check-in: [decaccc37c] user: dan branch: ota-update, size: 118997) | |
2014-09-15
| ||
19:34 | [3c56c85d80] part of check-in [48d201cd8b] Remove the experimental sqlite3_transaction_save() and restore() APIs. (check-in: [48d201cd8b] user: dan branch: ota-update, size: 118374) | |
15:34 | [6f5ff51117] part of check-in [55b8011d5b] Merge latest trunk changes with this branch. (check-in: [55b8011d5b] user: dan branch: ota-update, size: 123145) | |
2014-09-06
| ||
16:39 | [10e7de7ce9] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (check-in: [e62aab5e92] user: peter.d.reid branch: trunk, size: 118195) | |
2014-09-02
| ||
19:59 | [93b4fcb56a] part of check-in [2954ab5010] Add an experimental extension for applying bulk updates to databases. (check-in: [2954ab5010] user: dan branch: ota-update, size: 123140) | |
2014-08-15
| ||
22:37 | [b24addd299] part of check-in [c8ade949d4] Aborted merge. (check-in: [c8ade949d4] user: numist branch: obsolete, size: 121135) | |
2014-06-30
| ||
19:57 | [785b8a1fdd] part of check-in [f426876fe1] Merge the latest trunk changes into the apple-osx branch. (check-in: [f426876fe1] user: drh branch: apple-osx, size: 119327) | |
2014-06-12
| ||
17:10 | [264df50a1b] part of check-in [2aeacf81df] Increase the WAL-mode SQLITE_PROTOCOL timeout to 10 seconds. (check-in: [2aeacf81df] user: drh branch: trunk, size: 118190) | |
2014-05-08
| ||
23:01 | [29854e652a] part of check-in [9411d7dc6f] Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. (check-in: [9411d7dc6f] user: drh branch: apple-osx, size: 119358) | |
2014-02-13
| ||
19:27 | [76e7fc6de2] part of check-in [48c821fd97] Ensure that if the "psow=0" URI option or FCNTL_POWERSAFE_OVERWRITE file-control is used to clear the power-safe overwrite flag, extra padding frames are added to the WAL file. (check-in: [48c821fd97] user: dan branch: trunk, size: 118221) | |
18:46 | [d89e386ead] part of check-in [e3b79e920c] Avoid passing a flags argument with the internal WAL_SYNC_TRANSACTIONS bit set when calling sqlite3OsSync(). (check-in: [e3b79e920c] user: dan branch: trunk, size: 118228) | |
2013-06-27
| ||
11:46 | [7dc3966ef9] part of check-in [361c22969a] Add extended error code SQLITE_BUSY_SNAPSHOT - returned in WAL mode when a read-transaction cannot be upgraded to a write-transaction because it is reading from a snapshot other than the most recently committed. (check-in: [361c22969a] user: dan branch: trunk, size: 118209) | |
2013-04-10
| ||
23:48 | [436bfceb14] part of check-in [be7d2c5482] Add new primary error codes SQLITE_NOTICE and SQLITE_WARNING for use with sqlite3_log(). Add new extended error codes SQLITE_NOTICE_RECOVER_WAL and SQLITE_NOTICE_RECOVER_ROLLBACK to use with sqlite3_log() messages that occur on each recovery. (check-in: [be7d2c5482] user: drh branch: trunk, size: 118200) | |
2013-04-01
| ||
16:56 | [94b5fed2df] part of check-in [a1040f0397] Ensure that a checkpoint does not use an out-of-date mapping. (check-in: [a1040f0397] user: dan branch: experimental-mmap, size: 118174) | |
2013-03-27
| ||
19:53 | [04029f2691] part of check-in [0e3d511927] Modify various test cases so that they work if the file is extended in units of the system page-size. (check-in: [0e3d511927] user: dan branch: two-mappings, size: 118066) | |
2013-03-23
| ||
21:00 | [e84eff498c] part of check-in [1431be9557] Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch. (check-in: [1431be9557] user: dan branch: experimental-mmap, size: 118064) | |
17:29 | [923d90992f] part of check-in [60b9f5e4dd] Improve a comment in wal.c. No code changes. (check-in: [60b9f5e4dd] user: dan branch: experimental-mmap, size: 118446) | |
2013-03-22
| ||
18:20 | [7fec703bb0] part of check-in [d190ddabc3] Allow the database file to be memory mapped in wal mode. (check-in: [d190ddabc3] user: dan branch: experimental-mmap, size: 118089) | |
2012-10-15
| ||
11:28 | [f5c7b5027d] part of check-in [8745530b9a] Fix a failing assert() in wal.c. (check-in: [8745530b9a] user: dan branch: trunk, size: 117965) | |
2012-10-01
| ||
06:50 | [e1fe8f92a0] part of check-in [6b4ff83bff] 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. (check-in: [6b4ff83bff] user: dan branch: trunk, size: 117935) | |
2012-08-31
| ||
14:10 | [61b556fa9d] part of check-in [bc9b9cd058] Merge in latest trunk changes. (check-in: [bc9b9cd058] user: dan branch: apple-osx, size: 119074) | |
2012-08-25
| ||
10:01 | [5acb3e7bbd] part of check-in [9b19b84753] Fix all known instances of 'repeated the' style typos in comments. No changes to code. (check-in: [9b19b84753] user: mistachkin branch: trunk, size: 117937) | |
2012-07-17
| ||
17:46 | [c981d242bb] part of check-in [6503591226] Cherrypick [8c9ee1d78f] and [e416359633] from trunk: Ensure that there is always at least one aReadMark slot usable by an unprivileged reader while a checkpoint is running. Also, if one or more transactions are recovered from a log file, initialize one of the aReadMark slots to contain mxFrame as part of the recovery process. (check-in: [6503591226] user: drh branch: apple-osx, size: 119080) | |
14:37 | [9294df6f96] part of check-in [e416359633] Ensure that there is always at least one aReadMark slot usable by an unprivileged reader while a checkpoint is running. Also, if one or more transactions are recovered from a log file, initialize one of the aReadMark slots to contain mxFrame as part of the recovery process. (check-in: [e416359633] user: dan branch: trunk, size: 117943) | |
02:56 | [16345cdccc] part of check-in [8c9ee1d78f] Amplification of a comment in wal.c. Change the aReadMark[] processing so that one read mark is left at zero when a WAL resets. (check-in: [8c9ee1d78f] user: drh branch: trunk, size: 117851) | |
2012-05-09
| ||
22:36 | [1ff2ebb47b] part of check-in [6547929410] Added support for SQLITE_ENABLE_PERSIST_WAL compile time macro, retrieving lastErrno from WAL file and setting last errno when writes fail due to space constraints (check-in: [6547929410] user: adam branch: apple-osx, size: 118886) | |
2012-04-02
| ||
23:42 | [b5ba968e7d] part of check-in [0c0150f2a3] bad assert (check-in: [0c0150f2a3] user: adam branch: apple-osx, size: 118716) | |
23:35 | [c13ee6f768] part of check-in [d51c086e5c] Merge in latest changes, autologging options, read only file system wal support, test config conditionalization, WAL frame write prebuffering (check-in: [d51c086e5c] user: adam branch: apple-osx, size: 118783) | |
2012-03-05
| ||
16:39 | [8a89f4f600] part of check-in [504bf49086] Pull in all the latest trunk changes. (check-in: [504bf49086] user: drh branch: apple-osx, size: 118027) | |
2012-02-28
| ||
17:57 | [7bb3ad807a] part of check-in [16330a2f72] Fix spurious errors that may occur if an empty database is opened and then initialized as a WAL database by a second connection. (check-in: [16330a2f72] user: dan branch: trunk, size: 117749) | |
2012-02-24
| ||
14:33 | [c164c39e86] part of check-in [3130275c64] Add #ifdef SQLITE_ENABLE_ZIPVFS around those bits of code that are only used by ZIPVFS. (check-in: [3130275c64] user: drh branch: trunk, size: 117732) | |
2012-02-23
| ||
16:45 | [ef05bdbff7] part of check-in [f0640615f2] Fix a typo made inside an assert() statement in the previous commit. (check-in: [f0640615f2] user: dan branch: trunk, size: 117697) | |
15:35 | [176b50fc9e] part of check-in [786e24dc56] Add the sqlite3PagerWalFramesize() function to pager.c. This is used by zipvfs. (check-in: [786e24dc56] user: dan branch: trunk, size: 117713) | |
2012-01-14
| ||
14:13 | [24b994ef48] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (check-in: [2cc414cd14] user: drh branch: apple-osx, size: 117660) | |
2012-01-10
| ||
17:59 | [5f7bcc0610] part of check-in [722735a4f3] Refactor sqlite3OsFileControlNoFail() into sqlite3FileControlHint(). (check-in: [722735a4f3] user: drh branch: trunk, size: 117382) | |
16:56 | [1e96783f75] part of check-in [af59b182d7] Add function sqlite3OsFileControlNoFail(), which is the same as sqlite3OsFileControl() except that it does not simulate OOM errors. This saves adding calls to the BenignMalloc() functions around each of the invocations of sqliteOsFileControl() that ignore the return code. (check-in: [af59b182d7] user: dan branch: trunk, size: 117386) | |
00:24 | [32dd3bda6a] part of check-in [38bc4236d5] Remove the BenignMalloc() from around the call to FCNTL_OVERWRITE. Add new ones around sqlite3OsDelete(). Fix an assert that causes problems for the nx-devkit. (check-in: [38bc4236d5] user: drh branch: trunk, size: 117352) | |
2012-01-03
| ||
21:54 | [59d2f71c6f] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (check-in: [8a048423f0] user: drh branch: apple-osx, size: 117564) | |
2012-01-01
| ||
13:58 | [932f09509d] part of check-in [e3a929e431] Tweaks to improve testability. (check-in: [e3a929e431] user: drh branch: trunk, size: 117286) | |
2011-12-23
| ||
13:32 | [4800adb021] part of check-in [1f24ae716d] Avoid excess syncs when padding a transaction in a WAL. (check-in: [1f24ae716d] user: drh branch: trunk, size: 117286) | |
02:07 | [66e2afeec7] part of check-in [2370d70eb5] Merge the POWERSAFE_OVERWRITE features and the use of statvfs() from the statvfs branch into trunk. (check-in: [2370d70eb5] user: drh branch: trunk, size: 117273) | |
01:04 | [13c34ed72f] part of check-in [6191c5e451] Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE. The query parameter used to control this device characteristic is now "psow". (check-in: [6191c5e451] user: drh branch: statvfs, size: 117262) | |
2011-12-22
| ||
01:46 | [842901b448] part of check-in [19a6852a1e] Remove a redundant assignment operator. (check-in: [19a6852a1e] user: drh branch: statvfs, size: 117236) | |
2011-12-20
| ||
22:18 | [86193db30a] part of check-in [7ac713a14e] Remove the code that tries to detect OOO header writes on a WAL recovery. The code is made obsolete by syncing the WAL header. (check-in: [7ac713a14e] user: drh branch: statvfs, size: 117253) | |
20:13 | [311c36af11] part of check-in [92c73b421b] Refactor the sqlite3WalFrames() routine for clarity of presentation. Do the padded transaction sync as the write pointer crosses the final sector boundary instead of at the end, for efficiency. Always sync the WAL header immediately after it is written. (check-in: [92c73b421b] user: drh branch: statvfs, size: 117470) | |
13:13 | [5525f049df] part of check-in [979daf92e0] Assert that the isCommit parameter to sqlite3WalFrames() is zero if and only if the nTruncate parameter is zero. (check-in: [979daf92e0] user: drh branch: trunk, size: 115871) | |
2011-12-17
| ||
20:02 | [645fdf75d5] part of check-in [1dde96c9ee] For improved clarity of presentation, refactor some of the code associated with ZERO_DAMAGE and sector-size. (check-in: [1dde96c9ee] user: drh branch: statvfs, size: 115957) | |
19:49 | [dc06acfaa4] part of check-in [a0be6ea464] Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Use this device characteristic to reduce the required work in journaling. A side effect is that this changes the default page exists back to 1024 even with the use of statvfs(). (check-in: [a0be6ea464] user: drh branch: statvfs, size: 115908) | |
13:45 | [89a60a8bf8] part of check-in [44ca4d1233] Merge in changes that cause the first sector of the WAL file to be synced when the WAL restarts. This is a fix for the power-loss corruption problem described in ticket [ff5be73dee086] (check-in: [44ca4d1233] user: drh branch: trunk, size: 115681) | |
01:31 | [8f6fd49009] part of check-in [7b63b11b93] Make sure the Salt-1 value in the WAL file is sequentially numbered at each checkpoint, as it says it should be in the documentation. (check-in: [7b63b11b93] user: drh branch: trunk, size: 113243) | |
2011-12-16
| ||
21:26 | [20022b733c] part of check-in [9799241f7d] Enhance the WAL header sync so that it honors the various synchronous pragmas, settings, and device characteristics. (check-in: [9799241f7d] user: drh branch: wal-header-sync, size: 115412) | |
19:34 | [a1157f289e] part of check-in [91d0437c07] Proposed changes that ensure that the WAL header is written prior to the first commit mark. (check-in: [91d0437c07] user: drh branch: wal-header-sync, size: 114842) | |
15:38 | [8575f2bdae] part of check-in [09ccc4a1be] Merge the fix for [a1fa75cbdd02] from the experimental branch. Also fix the persistent-wal mode feature of truncating the WAL on close so that it always truncates the WAL to zero bytes. (check-in: [09ccc4a1be] user: drh branch: trunk, size: 113222) | |
13:24 | [dc5c0606db] part of check-in [6492af76ea] Experimental fix for [a1fa75cbdd]. (check-in: [6492af76ea] user: dan branch: experimental, size: 112611) | |
2011-12-08
| ||
21:08 | [84d32c7a56] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (check-in: [59e0d4f3d9] user: drh branch: apple-osx, size: 112465) | |
19:50 | [7e6e7fe68e] part of check-in [9687b305c2] In persistent WAL mode, truncate the WAL file to the size specified by the journal_size_limit pragma when disconnecting from the WAL. (check-in: [9687b305c2] user: drh branch: trunk, size: 112187) | |
2011-11-12
| ||
16:46 | [5fe1ba55b8] part of check-in [87614b62ac] Remove a couple of incorrect assert statements so that the test suite will run with -DSQLITE_DEFAULT_CACHE_SIZE=0. (check-in: [87614b62ac] user: drh branch: trunk, size: 112241) | |
2011-10-21
| ||
17:18 | [ae9272089e] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (check-in: [be62ef058b] user: drh branch: apple-osx, size: 112478) | |
2011-10-14
| ||
21:49 | [9658df8d40] part of check-in [60fee9574b] Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. (check-in: [60fee9574b] user: drh branch: trunk, size: 112200) | |
2011-10-10
| ||
22:11 | [eea77c3249] part of check-in [db5b7b778c] Merging in cherry picked diffs for persist wal, alloc padding, wal-safe vacuum and sqlite3_file_control based lockstate checking (check-in: [db5b7b778c] user: adam branch: apple-osx-377, size: 112506) | |
2011-08-02
| ||
18:25 | [92c7c876b0] part of check-in [77376b332b] Merge all the latest trunk changes into the apple-osx branch. (check-in: [77376b332b] user: drh branch: apple-osx, size: 112314) | |
2011-07-26
| ||
16:03 | [3154756177] part of check-in [e34c553bf0] Prototype change for a new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes. (check-in: [e34c553bf0] user: drh branch: persistent-wal-patch, size: 112228) | |
2011-06-24
| ||
20:47 | [876f9b68df] part of check-in [34f0efa2b1] Merging local changes to apple-osx (check-in: [34f0efa2b1] user: adam branch: apple-osx, size: 112187) | |
2011-06-02
| ||
17:24 | [0c70ad7b1c] part of check-in [a13cfe6162] Fix a faulty assert() in the WAL-mode logic for read-only shared memory. (check-in: [a13cfe6162] user: drh branch: trunk, size: 112101) | |
2011-06-01
| ||
20:01 | [fd63d07233] part of check-in [d6b4709de4] Simplify the wal-readonly branch so that it does not require changes to anything other than os_unix.c and wal.c and a couple of new error codes. (check-in: [d6b4709de4] user: drh branch: wal-readonly, size: 112061) | |
2011-05-31
| ||
17:08 | [861ea98779] part of check-in [2c6b5a28e3] Merge the latest trunk changes into the wal-readonly branch. (check-in: [2c6b5a28e3] user: drh branch: wal-readonly, size: 113278) | |
2011-05-25
| ||
20:25 | [ab1d8c5abf] part of check-in [dd19105aa9] Ignore malloc failures within the WAL file truncation attempt for journal_size_limit. (check-in: [dd19105aa9] user: drh branch: trunk, size: 111324) | |
2011-05-19
| ||
02:34 | [11c17da206] part of check-in [5791232778] Bring the apple-wal-readonly branch up to date with the latest changes in apple-osx, and especially the fix for disappearing WAL transactions. (check-in: [5791232778] user: drh branch: apple-wal-readonly, size: 113204) | |
2011-05-16
| ||
21:00 | [de27c34c80] part of check-in [db7e500f69] Enhance WAL mode so that the WAL file honors the journal size limit set by PRAGMA journal_size_limit. (check-in: [db7e500f69] user: drh branch: trunk, size: 111250) | |
2011-05-11
| ||
17:36 | [6d8ee757f6] part of check-in [6a2ea52e6c] Add missing comments associated with readonly shm changes. (check-in: [6a2ea52e6c] user: dan branch: wal-readonly, size: 112305) | |
14:57 | [adc6c83b65] part of check-in [671ba5fc59] Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails). (check-in: [671ba5fc59] user: dan branch: wal-readonly, size: 111849) | |
2011-05-10
| ||
17:31 | [2574b16ee8] part of check-in [bb59f9862d] Add experimental support for read-only connections to WAL databases. (check-in: [bb59f9862d] user: dan branch: wal-readonly, size: 111462) | |
2011-03-06
| ||
21:28 | [7334009b39] part of check-in [01a79d5a7a] Remove dead code identified by the clang static analyzer. (check-in: [01a79d5a7a] user: drh branch: trunk, size: 110351) | |
2011-02-20
| ||
03:20 | [5b0f0a2a12] part of check-in [e6e540ab77] Backport the changes of checkin [cf86affcb7d308949] ("Make wal_checkpoint a no-op if a prior checkpoint has already copied all WAL content into the database.") to the 3.7.4 release. (check-in: [e6e540ab77] user: drh branch: branch-3.7.4, size: 105182) | |
03:11 | [20a07fb265] part of check-in [bcc22c4b80] Backport the SQLITE_PROTOCOL fix and the extra defensive measure to version 3.7.4. (check-in: [bcc22c4b80] user: drh branch: branch-3.7.4, size: 105167) | |
2011-02-19
| ||
23:18 | [5386fb5e13] part of check-in [e87d499a4f] An SQLITE_PROTOCOL error counts as a locking error for verification purposes. (check-in: [e87d499a4f] user: drh branch: trunk, size: 110379) | |
17:02 | [9025ab8d99] part of check-in [6f3dad32aa] Change a testcase() added by the previous checkin into an assert(). (check-in: [6f3dad32aa] user: drh branch: trunk, size: 110327) | |
16:51 | [c7edd9ba27] part of check-in [262b6fca0b] Add testcase macros to verify that all return values from walTryBeginRead() are tested. (check-in: [262b6fca0b] user: drh branch: trunk, size: 110290) | |
15:22 | [3502efa1fe] part of check-in [fd578a32f8] Changes to make WAL more robust against SQLITE_PROTOCOL errors. (check-in: [fd578a32f8] user: drh branch: trunk, size: 110000) | |
14:19 | [cb338d8f80] part of check-in [1725aa7501] Changes which attempt to address an obscure SQLITE_PROTOCOL error. (check-in: [1725aa7501] user: drh branch: wal-trace-375, size: 107182) | |
2011-02-07
| ||
15:12 | [aca10a6065] part of check-in [5a4b6652cf] Change blocking-checkpoint tests so that they run once using "PRAGMA wal_checkpoint" and once using calls to sqlite3_wal_checkpoint_v2(). Also fix edge cases surrounding the output variables set by wal_checkpoint_v2(). (check-in: [5a4b6652cf] user: dan branch: trunk, size: 109173) | |
2011-02-02
| ||
19:17 | [8704a563b3] part of check-in [aef61036b3] Fix minor problems with the output of "PRAGMA wal_checkpoint". In both code and tests. (check-in: [aef61036b3] user: dan branch: trunk, size: 109157) | |
16:34 | [e6a609ab09] part of check-in [bac7342c36] Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. (check-in: [bac7342c36] user: drh branch: trunk, size: 109186) | |
2011-01-05
| ||
13:07 | [1076d7d8a2] part of check-in [6549e7672b] Cherrypick the WAL error logging from the pre-3.7.5 line into a branch for version 3.7.2. Include the sqlite3_vsnprintf() interface. This checkin is intended for debugging and not for release. (check-in: [6549e7672b] user: drh branch: wal-trace-372, size: 103751) | |
12:50 | [2db71704aa] part of check-in [2c2afdd0ad] Add detailed error logging to WAL in an effort to track down an obscure SQLITE_PROTOCOL problem. This code is intended for debugging and not for release. (check-in: [2c2afdd0ad] user: drh branch: wal-trace-375, size: 106392) | |
2010-12-16
| ||
02:06 | [dbca424f71] part of check-in [cf86affcb7] Make wal_checkpoint a no-op if a prior checkpoint has already copied all WAL content into the database. This prevents a concurrent write to the database from resetting the wal-index out from under the WalIterator of the checkpoint as it is initializing. (check-in: [cf86affcb7] user: drh branch: trunk, size: 105315) | |
2010-12-15
| ||
21:02 | [1c846e56cb] part of check-in [d0e4375b8a] Enhanced comments in wal.c and declare some procedure parameters "const". No changes to the generated code. (check-in: [d0e4375b8a] user: drh branch: trunk, size: 105300) | |
2010-11-18
| ||
19:28 | [23facfd0f1] part of check-in [4c663a4dcc] Fixes for SQLITE_BUSY handling in blocking checkpoint code. (check-in: [4c663a4dcc] user: dan branch: blocking-checkpoint, size: 107728) | |
12:11 | [8eca619a28] part of check-in [72787c010c] Modify the interface to the blocking wal-checkpoint functionality. (check-in: [72787c010c] user: dan branch: blocking-checkpoint, size: 106698) | |
2010-11-16
| ||
18:56 | [400624ce58] part of check-in [7e3fc2c833] 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. (check-in: [7e3fc2c833] user: dan branch: blocking-checkpoint, size: 106043) | |
2010-11-09
| ||
01:53 | [419914f47f] part of check-in [f59949fac1] Back out the prior attempt to enable full-fsync for WAL and attempt the same thing using a completely different approach. (check-in: [f59949fac1] user: drh branch: apple-osx-exp, size: 102713) | |
2010-11-01
| ||
17:38 | [f26b8d297b] part of check-in [8dd5c69198] If a database file with the WAL flag set is opened in exclusive-locking mode, use heap memory to store the wal-index instead of shared-memory. (check-in: [8dd5c69198] user: dan branch: trunk, size: 103961) | |
2010-10-05
| ||
15:41 | [0dc7eb9e90] part of check-in [04dcba6b33] If walLockExclusive() fails for reasons other than SQLITE_BUSY inside of walRestartLog() then propagate that error back up to the application. (check-in: [04dcba6b33] user: drh branch: trunk, size: 102738) | |
2010-09-01
| ||
02:38 | [7081f148cb] part of check-in [afdc82a99e] Fix some compiler warnings under MSVC. (check-in: [afdc82a99e] user: shaneh branch: trunk, size: 102679) | |
2010-08-18
| ||
02:28 | [5ac2119e23] part of check-in [1f5662b7db] Fix some compiler warnings in the MSVC build. (check-in: [1f5662b7db] user: shaneh branch: trunk, size: 102674) | |
2010-08-17
| ||
14:52 | [109c45210e] part of check-in [e05089aaef] Invoke sqlite3_log() whenever one or more frames are recovered from a WAL file. (check-in: [e05089aaef] user: dan branch: trunk, size: 102660) | |
2010-08-16
| ||
16:31 | [241b963c02] part of check-in [d854a3d41c] Fix a typo in a comment in wal.c. No code changes. (check-in: [d854a3d41c] user: drh branch: trunk, size: 102243) | |
14:18 | [6b17050777] part of check-in [24f24c927c] Add ALWAYS() macros in wal.c to cover branches that are no longer reachable following the pager refactoring. (check-in: [24f24c927c] user: drh branch: trunk, size: 102240) | |
2010-08-14
| ||
21:21 | [c2d20c37c5] part of check-in [faf1974e2d] Adjustments for better 64K page size handling. (check-in: [faf1974e2d] user: drh branch: trunk, size: 102224) | |
2010-08-12
| ||
02:41 | [c79ae356eb] part of check-in [45362437d4] Increase the maximum page size from 32k to 64k. (check-in: [45362437d4] user: drh branch: trunk, size: 101666) | |
2010-08-09
| ||
07:51 | [582acbaa60] part of check-in [f1b2b5f9c3] Fix a problem causing the return code of an xSync call to be ignored in wal.c. (check-in: [f1b2b5f9c3] user: dan branch: experimental, size: 101449) | |
07:07 | [4ac3c3d757] part of check-in [158a309737] In WAL mode, ignore any error returned by an xFileControl(FCNTL_SIZE_HINT) call. This matches the behaviour in rollback mode. (check-in: [158a309737] user: dan branch: experimental, size: 101473) | |
2010-08-07
| ||
16:17 | [ef5e37b8cf] part of check-in [92e456374b] Fix minor problems and update comments in pager.c. (check-in: [92e456374b] user: dan branch: experimental, size: 101478) | |
2010-08-03
| ||
06:42 | [6e04bccccd] part of check-in [0a636798bd] Incremental checkin on pager state refactoring. (check-in: [0a636798bd] user: dan branch: experimental, size: 101439) | |
2010-07-28
| ||
14:26 | [72cb5df7f4] part of check-in [a038688c99] Support FCNTL_CHUNK_SIZE on windows too. (check-in: [a038688c99] user: dan branch: experimental, size: 101454) | |
2010-07-15
| ||
18:20 | [0925601f32] part of check-in [932d19da73] Changes to wal.c so that SQLite can read even if the WAL file is opened read-only, provided the wal-index (shm file) is opened read/write. (check-in: [932d19da73] user: dan branch: trunk, size: 100849) | |
17:54 | [66e9034aa9] part of check-in [75f5354876] Handle the case where xShmMap returns SQLITE_BUSY. (check-in: [75f5354876] user: dan branch: trunk, size: 100720) | |
2010-07-14
| ||
16:37 | [656d50bb0b] part of check-in [45bb84c628] Test the libraries response to read-only or unreadable database, WAL and wal-index files. If a WAL file cannot be opened in read/write mode, return SQLITE_CANTOPEN to the caller. (check-in: [45bb84c628] user: dan branch: trunk, size: 100209) | |
14:48 | [60932f2930] part of check-in [e5d180eed2] On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file. (check-in: [e5d180eed2] user: dan branch: trunk, size: 100126) | |
00:14 | [7dce9040d5] part of check-in [c2d27cf51d] Change the name of the xShmClose VFS method to xShmUnmap, everywhere. (check-in: [c2d27cf51d] user: drh branch: experimental, size: 100135) | |
2010-07-13
| ||
18:44 | [1a63156c66] part of check-in [f4780bde62] Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. (check-in: [f4780bde62] user: dan branch: experimental, size: 100135) | |
2010-07-09
| ||
12:57 | [c1783e405f] part of check-in [0c32c4bbdd] Fix warning under MSVC. (check-in: [0c32c4bbdd] user: shaneh branch: trunk, size: 100324) | |
03:19 | [0cd5cd46df] part of check-in [40eaada7ec] Reformat WAL code for clearer presentation. Update comments for correctness. Add checks to ensure that corruption in shared-memory does not result in an infinite loop. (check-in: [40eaada7ec] user: drh branch: trunk, size: 100317) | |
2010-07-07
| ||
21:06 | [5a58352aee] part of check-in [baa5eddd05] Make the initial salt values in the WAL header random values, not zero. (check-in: [baa5eddd05] user: drh branch: trunk, size: 99960) | |
14:40 | [7af0b976cf] part of check-in [16e18f2706] Remove two more testcase() macros that require 4GiB WAL files to hit. (check-in: [16e18f2706] user: drh branch: trunk, size: 99959) | |
14:35 | [950f8d843e] part of check-in [15f9c2713b] Remove a testcase() macro that would require a 4GiB WAL to reach. (check-in: [15f9c2713b] user: drh branch: trunk, size: 99901) | |
13:43 | [ad26357520] part of check-in [8156b57ac3] Add testcase macros to ensure that large-file cases are tested in WAL. (check-in: [8156b57ac3] user: drh branch: trunk, size: 99876) | |
09:48 | [480c42c699] part of check-in [b956ddca75] Fix a problem with writing to databases larger than 2^32 bytes with WAL mode. (check-in: [b956ddca75] user: dan branch: trunk, size: 99588) | |
2010-07-05
| ||
19:03 | [585f37237e] part of check-in [3053a4ad15] Allocate a buffer containing the full path-name to the associated WAL file when a pager is created. This saves having to construct a new buffer each time a new read-transaction is opened and SQLite checks for the existance of a WAL file. (check-in: [3053a4ad15] user: dan branch: trunk, size: 99533) | |
2010-07-02
| ||
18:15 | [737408e8e6] part of check-in [26bc27e3f4] Fix a couple more compiler warnings under MSVC. (check-in: [26bc27e3f4] user: shaneh branch: mistake, size: 99718) | |
17:05 | [a56876d405] part of check-in [7083387739] Fix some warnings when compiling under MSVC. (check-in: [7083387739] user: shaneh branch: mistake, size: 99694) | |
2010-06-26
| ||
22:16 | [7666c113e9] part of check-in [ec65bbd06b] Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP. (check-in: [ec65bbd06b] user: drh branch: trunk, size: 99620) | |
21:34 | [b6ce9893a4] part of check-in [e82d008eaf] Suppress various compiler warnings. (check-in: [e82d008eaf] user: drh branch: trunk, size: 99613) | |
20:00 | [c177bd9af1] part of check-in [29571e228c] Suppress a couple uninitialized variable warnings. (check-in: [29571e228c] user: drh branch: trunk, size: 99606) | |
2010-06-25
| ||
16:34 | [22522709a4] part of check-in [4a7fd91b7a] Reduce the average (but not maximum) size of the allocations made as part of a checkpoint. (check-in: [4a7fd91b7a] user: dan branch: trunk, size: 99606) | |
15:16 | [7f2c67f14f] part of check-in [29887487ed] Reduce the size of the large allocation (approx 8KB for every 4000 frames in the log) that occurs during checkpoint. Use the 'scratch' memory for this allocation instead of the general purpose allocation. (check-in: [29887487ed] user: dan branch: trunk, size: 99449) | |
11:35 | [a6648b66a8] part of check-in [daea6c054c] Modify the merge-sort in wal.c so that it does not use recursion. (check-in: [daea6c054c] user: dan branch: trunk, size: 99477) | |
2010-06-24
| ||
02:46 | [40e6d0acde] part of check-in [2e6a462ceb] Make sure the wal-index reader detects an incorrect version number even if it had to hold a lock in order to read the wal-index. Also, expand and enhance various comments in wal.c. (check-in: [2e6a462ceb] user: drh branch: trunk, size: 97929) | |
2010-06-23
| ||
22:00 | [51b5d2259d] part of check-in [ee9991be08] Fix and/or improve comments in wal.c. No code changes. (check-in: [ee9991be08] user: drh branch: trunk, size: 96562) | |
15:55 | [563b7030ef] part of check-in [8d0f8a7f70] Add a version number to the wal-index header. If SQLite encounters a version number in either the wal or wal-index files that it does not understand, the operation is abandoned and SQLITE_CANTOPEN returned. (check-in: [8d0f8a7f70] user: dan branch: trunk, size: 96132) | |
2010-06-22
| ||
21:15 | [70ffd43c93] part of check-in [2c90276e34] Disable code used only by the codec when the codec is not deployed. (check-in: [2c90276e34] user: drh branch: trunk, size: 94381) | |
15:18 | [dcc18b6157] part of check-in [393741eba3] Add codec support to wal mode. (check-in: [393741eba3] user: dan branch: trunk, size: 94245) | |
2010-06-15
| ||
11:21 | [4ea519e6d6] part of check-in [4d90cc0bc0] Updates to comments and testcase() macros in wal.c. (check-in: [4d90cc0bc0] user: drh branch: trunk, size: 94087) | |
2010-06-14
| ||
14:07 | [c261aeb28c] part of check-in [fc0cabc15c] Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations. (check-in: [fc0cabc15c] user: dan branch: experimental, size: 94024) | |
11:49 | [f8ba403da9] part of check-in [1ce9c92bff] Update some comments in wal.c. No code changes. (check-in: [1ce9c92bff] user: dan branch: experimental, size: 94025) | |
11:18 | [eb0a433af5] part of check-in [5e8e2e978e] Change the interface to internal function walGetHash() to make it easier to follow. (check-in: [5e8e2e978e] user: dan branch: experimental, size: 93503) | |
10:30 | [7cf566b5c1] part of check-in [1008f53644] Add the xShmPage method to the "crash" vfs in test6.c. (check-in: [1008f53644] user: dan branch: experimental, size: 93648) | |
07:53 | [75c55049c0] part of check-in [37b26d125f] Add some fault-injection tests to improve coverage. (check-in: [37b26d125f] user: dan branch: experimental, size: 93658) | |
2010-06-12
| ||
12:02 | [ca3e0bf68c] part of check-in [eade8bc238] Fix some problems with handling IO errors on the experimental branch. (check-in: [eade8bc238] user: dan branch: experimental, size: 93541) | |
2010-06-11
| ||
19:04 | [0aa364734d] part of check-in [ca68472db0] Experimental change to the xShmXXX parts of the VFS interface. (check-in: [ca68472db0] user: dan branch: experimental, size: 92702) | |
2010-06-09
| ||
16:58 | [2cdfea9a5e] part of check-in [0797b10c0c] When restarting (wrapping) a log file, set all unused aReadMark[] slots to READMARK_NOT_USED instead of 0. Setting them to 0 does not cause a problem, but may cause SQLite to obtain and release a few more file locks than would otherwise be necessary. (check-in: [0797b10c0c] user: dan branch: trunk, size: 94924) | |
14:45 | [25ce19c8e1] part of check-in [c576827d55] Shift the meaning of aReadMark[] back so that +1 offset from mxFrame is removed. Add the new READMARK_NOT_USED value (0xffffffff) instead of zero to signal an aReadMark[] that is not in use. (check-in: [c576827d55] user: drh branch: trunk, size: 94770) | |
11:28 | [70edade367] part of check-in [3c2de82003] Simpler fix for the race condition also fixed by [7c102c7b5f] (check-in: [3c2de82003] user: dan branch: trunk, size: 94364) | |
11:02 | [3f9c563ffa] part of check-in [7c102c7b5f] Fix for race condition in WAL locking code. (check-in: [7c102c7b5f] user: dan branch: mistake, size: 94582) | |
2010-06-05
| ||
19:18 | [d1a6aa3f29] part of check-in [a49713db39] Add further test cases for the logic in sqlite3WalBeginReadTransaction(). (check-in: [a49713db39] user: dan branch: trunk, size: 94278) | |
18:34 | [a97ac7ee62] part of check-in [c041c6a978] Clarify the purpose of a test for a race-condition in sqlite3WalBeginReadTransaction(). (check-in: [c041c6a978] user: dan branch: trunk, size: 94254) | |
18:12 | [22a58cdfc1] part of check-in [394204735a] 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: [394204735a] user: dan branch: trunk, size: 93092) | |
14:42 | [3a448ad3a5] part of check-in [3fe0cc784a] Mark a condition in wal.c as ALWAYS(). (check-in: [3fe0cc784a] user: dan branch: trunk, size: 93245) | |
2010-06-04
| ||
18:38 | [e237581eeb] part of check-in [255850699d] Clarify an assert in sqlite3WalExclusiveMode(). (check-in: [255850699d] user: dan branch: trunk, size: 92515) | |
17:16 | [ea912c55b3] part of check-in [8e54786c9a] Remove an unnecessary branch from wal.c. (check-in: [8e54786c9a] user: dan branch: trunk, size: 92214) | |
11:56 | [f34425da57] part of check-in [b813233d76] 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: [b813233d76] user: dan branch: trunk, size: 92264) | |
10:37 | [453811af92] part of check-in [02c4040ce2] 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: [02c4040ce2] user: dan branch: trunk, size: 92273) | |
2010-06-02
| ||
20:38 | [be73c9a8a3] part of check-in [c6eb0a2727] When a lock fails due to an I/O error (not an SQLITE_BUSY) then the checkpoint should fail. (check-in: [c6eb0a2727] user: drh branch: trunk, size: 92376) | |
18:59 | [82da8997bc] part of check-in [6b4aed6aae] Fix a problem with rolling back to a savepoint opened before the writer decided to wrap the log file. (check-in: [6b4aed6aae] user: dan branch: trunk, size: 92268) | |
15:43 | [125cc67e8e] part of check-in [aa2c2b67a7] 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: [aa2c2b67a7] user: drh branch: trunk, size: 91900) | |
14:45 | [e36af9e757] part of check-in [ebf4041383] Changes to make WAL more robust against SHM locking failures and OOM errors. (check-in: [ebf4041383] user: drh branch: trunk, size: 91772) | |
2010-06-01
| ||
15:44 | [2bd4ef3bfe] part of check-in [b1abfaaf53] 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: [b1abfaaf53] user: dan branch: trunk, size: 91176) | |
13:17 | [131a5eaa59] part of check-in [9c9ec8994b] Fix a bug introduced by the previous check-in but only seen if SQLITE_ENABLE_EXPENSIVE_ASSERTS is turned on. (check-in: [9c9ec8994b] user: drh branch: wal-incr-ckpt, size: 89753) | |
12:58 | [2a122212dc] part of check-in [f039552e63] Fix an off-by-one boundary-value issue in walCleanupHash(). (check-in: [f039552e63] user: drh branch: wal-incr-ckpt, size: 89741) | |
10:44 | [a18a20596b] part of check-in [9e95e35728] If the checkpoint fails to obtain an exclusive lock on one of the read-lock bytes, do not consider this an error. (check-in: [9e95e35728] user: dan branch: wal-incr-ckpt, size: 89527) | |
01:08 | [d03eebb92e] part of check-in [e8e666ab82] Comment edits and cleanup in wal.c. No functional code changes. (check-in: [e8e666ab82] user: drh branch: wal-incr-ckpt, size: 89534) | |
2010-05-31
| ||
20:28 | [b3f312fe54] part of check-in [8deba0cebd] Fix issues with locking_mode=EXCLUSIVE in WAL. (check-in: [8deba0cebd] user: drh branch: wal-incr-ckpt, size: 89254) | |
18:24 | [a20a069a7e] part of check-in [a16fde1901] 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: [a16fde1901] user: drh branch: wal-incr-ckpt, size: 88395) | |
16:56 | [0ccac00186] part of check-in [552658da28] 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: [552658da28] user: drh branch: wal-incr-ckpt, size: 88325) | |
16:41 | [fa5f1784e9] part of check-in [cc25cfa046] Avoid dropping the checkpoint lock after a recovery run as a precursor to a checkpoint operation. (check-in: [cc25cfa046] user: dan branch: wal-incr-ckpt, size: 88382) | |
16:17 | [85d6de5b32] part of check-in [db3509c55d] Zero the checkpoint header as the last step of successful WAL recovery. Avoid an unnecessary lock/unlock in WalBeginReadTransaction. (check-in: [db3509c55d] user: dan branch: wal-incr-ckpt, size: 87707) | |
16:10 | [07896216f1] part of check-in [149a7082e2] Get the new xShmLock interface design working on os_win.c. (check-in: [149a7082e2] user: drh branch: wal-incr-ckpt, size: 87471) | |
14:39 | [a5c23eb5a7] part of check-in [138f128317] Make sure WAL alway requests enough shared-memory space. (check-in: [138f128317] user: drh branch: wal-incr-ckpt, size: 87449) | |
12:30 | [0b3cf78459] part of check-in [9aa4243e0c] Do not fail a checkpoint just because active readers prevent backfill. (check-in: [9aa4243e0c] user: drh branch: wal-incr-ckpt, size: 87417) | |
12:15 | [880542c13b] part of check-in [765c33181a] Add WALTRACE() macros to help with debugging and analysis. (check-in: [765c33181a] user: drh branch: wal-incr-ckpt, size: 87254) | |
12:02 | [ae5ff8e4da] part of check-in [853f1e3f77] Another minor fix to checkpoint on the WAL branch. (check-in: [853f1e3f77] user: dan branch: wal-incr-ckpt, size: 85286) | |
11:39 | [e7dcdd7ac9] part of check-in [b499dbc88a] Fix a bug in checkpoint introduced by [181ceb32ea]. (check-in: [b499dbc88a] user: dan branch: wal-incr-ckpt, size: 85289) | |
11:16 | [23b3733a0b] part of check-in [181ceb32ea] Fix some asserts and other things in the new WAL branch. (check-in: [181ceb32ea] user: dan branch: wal-incr-ckpt, size: 85288) | |
01:41 | [016ea4ed03] part of check-in [ace58acbf1] WAL runs but quickly deadlocks. (check-in: [ace58acbf1] user: drh branch: wal-incr-ckpt, size: 85028) | |
2010-05-30
| ||
19:55 | [ef02a5f4d4] part of check-in [ef3ba7a17f] 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: [ef3ba7a17f] user: drh branch: wal-incr-ckpt, size: 84930) | |
2010-05-26
| ||
17:31 | [ce631adb92] part of check-in [42705babba] Make sure the wal-index mapping is always large enough to cover the entire active area of the wal-index. (check-in: [42705babba] user: drh branch: trunk, size: 72363) | |
15:06 | [603f6ad6fa] part of check-in [72de007312] 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: [72de007312] user: drh branch: trunk, size: 72015) | |
2010-05-25
| ||
15:53 | [910ec66f5e] part of check-in [687632a6b3] Updated header comments in wal.c. No functional code changes. (check-in: [687632a6b3] user: drh branch: trunk, size: 71960) | |
13:40 | [5088dfa9a5] part of check-in [40030c0739] 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: [40030c0739] user: drh branch: trunk, size: 71581) | |
10:50 | [d75a06a34f] part of check-in [ed77556adc] 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: [ed77556adc] user: dan branch: trunk, size: 70944) | |
2010-05-24
| ||
13:57 | [c09f4e33aa] part of check-in [8a53f12c83] 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: [8a53f12c83] user: dan branch: trunk, size: 70019) | |
13:28 | [e8c58e529b] part of check-in [02d99ad4b5] Make sure a WAL frame of all zeros is detected as an invalid frame. (check-in: [02d99ad4b5] user: drh branch: trunk, size: 68955) | |
10:39 | [93e13dfc60] part of check-in [65ba804dd1] 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: [65ba804dd1] user: dan branch: trunk, size: 68766) | |
2010-05-22
| ||
00:55 | [8371cedf1f] part of check-in [7aade899e5] 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: [7aade899e5] user: drh branch: trunk, size: 66900) | |
2010-05-21
| ||
19:15 | [ad8e423a19] part of check-in [40f80ffe70] Fix another bug in walClearHash(). (check-in: [40f80ffe70] user: dan branch: trunk, size: 65689) | |
16:23 | [2b984834bb] part of check-in [75a1130d86] Correct an off-by-one bug in the previous commit. (check-in: [75a1130d86] user: dan branch: trunk, size: 65689) | |
15:31 | [c05f409181] part of check-in [36795c2b23] Remove entries from wal-index hash tables when a rollback or savepoint rollback occurs. (check-in: [36795c2b23] user: dan branch: trunk, size: 65690) | |
13:16 | [1c3abceaca] part of check-in [1a4eb3a3ef] 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: [1a4eb3a3ef] user: drh branch: trunk, size: 64041) | |
2010-05-20
| ||
23:51 | [2352dd3a2b] part of check-in [1bd011c9fe] 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: [1bd011c9fe] user: drh branch: trunk, size: 63709) | |
21:21 | [fd4377f7fe] part of check-in [9580ecb7e3] Make use of the extra information in the WAL header and frame header to enhance robustness. (check-in: [9580ecb7e3] user: drh branch: trunk, size: 63098) | |
16:45 | [25969e598b] part of check-in [669706431f] 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: [669706431f] user: drh branch: trunk, size: 63640) | |
2010-05-19
| ||
19:09 | [b77f0682a9] part of check-in [8b6056f2ee] 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: [8b6056f2ee] user: drh branch: trunk, size: 62371) | |
18:08 | [5fd5853973] part of check-in [542b90eba6] Revise the checksumming algorithm in wal.c. More variable refactoring. (check-in: [542b90eba6] user: drh branch: trunk, size: 62371) | |
17:49 | [105bad789a] part of check-in [1d201ff51f] Refactoring some variable names in wal.c. (check-in: [1d201ff51f] user: drh branch: trunk, size: 63094) | |
01:53 | [59463e0869] part of check-in [a71a22b52f] Add a large comment to wal.c describing the WAL and wal-index file formats. (check-in: [a71a22b52f] user: drh branch: trunk, size: 63122) | |
2010-05-18
| ||
23:29 | [6ef6731346] part of check-in [ada9a8c7b6] 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: [ada9a8c7b6] user: drh branch: trunk, size: 58458) | |
18:01 | [cfbb818b50] part of check-in [b5b60fdcc5] Refactoring of the WalIterator implementation. (check-in: [b5b60fdcc5] user: drh branch: trunk, size: 55930) | |
13:27 | [03c150ff23] part of check-in [0a6787908e] Mark the shared-memory in the WAL implementation as volatile. (check-in: [0a6787908e] user: drh branch: trunk, size: 52189) | |
12:56 | [5bdd0270bd] part of check-in [a029be1017] Comment clarifications in wal.c. (check-in: [a029be1017] user: drh branch: trunk, size: 52063) | |
2010-05-17
| ||
20:16 | [431efda486] part of check-in [7162c45673] Remove an unreachable test from wal.c. (check-in: [7162c45673] user: drh branch: trunk, size: 52405) | |
2010-05-13
| ||
15:44 | [b59d841e78] part of check-in [175b296f9b] Allow sqlite3WalCheckpoint() to be called even if the WAL is in the SQLITE_SHM_READ state, as sometimes happens after an error. (check-in: [175b296f9b] user: drh branch: trunk, size: 52477) | |
09:11 | [ec1a6f944c] part of check-in [92ebdbc5f6] Make sure xShmGet is never called while already holding the shared-memory segment. (check-in: [92ebdbc5f6] user: drh branch: trunk, size: 52463) | |
07:08 | [3806c5ed70] part of check-in [3cab902245] Fix for a segfault that can follow a malloc failure. (check-in: [3cab902245] user: dan branch: wal-refactor, size: 52438) | |
2010-05-12
| ||
18:10 | [c66ba0b722] part of check-in [c744581274] A couple simple fixes to get wal.test mostly working. (check-in: [c744581274] user: drh branch: wal-refactor, size: 52436) | |
18:01 | [5f52f5ea69] part of check-in [2b00152c1a] 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: [2b00152c1a] user: drh branch: wal-refactor, size: 52434) | |
06:54 | [2f747b6a6b] part of check-in [c501b2ede6] Remove a branch made redundant by the earlier exclusive-mode changes. (check-in: [c501b2ede6] user: dan branch: trunk, size: 52474) | |
2010-05-11
| ||
12:19 | [7042647fd4] part of check-in [71e7b1cf9f] Changes so that WAL and exclusive-locking mode work together. (check-in: [71e7b1cf9f] user: dan branch: trunk, size: 52232) | |
2010-05-10
| ||
14:46 | [65d1376c8d] part of check-in [40b0a6357b] Modify the format of the wal-index to use a hash table to index log file segments. (check-in: [40b0a6357b] user: dan branch: trunk, size: 50722) | |
2010-05-07
| ||
20:34 | [66147e8b86] part of check-in [be114bdf9b] 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: [be114bdf9b] user: drh branch: trunk, size: 45692) | |
20:02 | [6704aa5329] part of check-in [a65c293926] 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: [a65c293926] user: drh branch: trunk, size: 45500) | |
09:43 | [53b7461586] part of check-in [8b3b5ab8fa] Test another IO error case in wal.c. (check-in: [8b3b5ab8fa] user: dan branch: trunk, size: 45489) | |
06:59 | [5321afde90] part of check-in [8f94bde568] Fix a problem with checkpointing large log files created by an external process. (check-in: [8f94bde568] user: dan branch: trunk, size: 45470) | |
05:46 | [57ff825325] part of check-in [061a282cc0] 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: [061a282cc0] user: dan branch: trunk, size: 45513) | |
2010-05-06
| ||
18:48 | [1fc462b75d] part of check-in [bb0b6021e7] Instead of transitioning to RECOVER state from CHECKPOINT when a recovery is required, perform the recovery while holding the CHECKPOINT lock. (check-in: [bb0b6021e7] user: dan branch: trunk, size: 44414) | |
18:27 | [0463fb9692] part of check-in [dc98ee169c] If recovery is run before a checkpoint, change back to a CHECKPOINT lock before performing the actual checkpoint. (check-in: [dc98ee169c] user: dan branch: trunk, size: 44331) | |
18:04 | [1730243c64] part of check-in [637f51ddf9] 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: [637f51ddf9] user: dan branch: trunk, size: 44289) | |
17:28 | [d7250e0da0] part of check-in [d0c0034b0b] 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: [d0c0034b0b] user: dan branch: trunk, size: 44333) | |
15:56 | [d152a78f6c] part of check-in [98a9713e00] Further coverage tests. (check-in: [98a9713e00] user: dan branch: trunk, size: 43891) | |
14:42 | [cc0c152897] part of check-in [429f437fb7] Add tests to cover a couple of branches in wal.c. (check-in: [429f437fb7] user: dan branch: trunk, size: 43824) | |
12:15 | [5fa16130ca] part of check-in [f0fcb9c9a6] Add tests for some lock-contention cases. (check-in: [f0fcb9c9a6] user: dan branch: trunk, size: 43914) | |
11:32 | [2db3bd804d] part of check-in [9465b267d4] Add test cases to test the libraries handling of corrupt wal-index headers. (check-in: [9465b267d4] user: dan branch: trunk, size: 43889) | |
07:43 | [65a29bce10] part of check-in [fbbcacb137] Add tests for handling errors returned by xShm VFS methods. (check-in: [fbbcacb137] user: dan branch: trunk, size: 43905) | |
2010-05-05
| ||
19:04 | [85311299e9] part of check-in [72663123d6] Test the handling of errors returned by the xShmXXX() APIs. (check-in: [72663123d6] user: dan branch: trunk, size: 43755) | |
15:33 | [faafbea1d5] part of check-in [2ac5d96c8e] 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: [2ac5d96c8e] user: dan branch: trunk, size: 43286) | |
2010-05-04
| ||
17:38 | [73d17ad0d6] part of check-in [b15b67fa14] Be sure to release all wal-index locks before closing the wal-index. (check-in: [b15b67fa14] user: drh branch: trunk, size: 43251) | |
17:20 | [864f1e2036] part of check-in [8f9d22d58c] Relax an over-zealous assert() in sqlite3WalUndo(). (check-in: [8f9d22d58c] user: drh branch: trunk, size: 43039) | |
16:33 | [7f5d355cee] part of check-in [1465d3842c] Take care not to invoke the xShmClose method of the VFS with a NULL shared memory object. (check-in: [1465d3842c] user: drh branch: trunk, size: 43114) | |
14:47 | [558700d2d5] part of check-in [1a391f3c55] Fix problems with recovering wal files that use a page-size other than the default. (check-in: [1a391f3c55] user: dan branch: trunk, size: 43094) | |
11:06 | [1d0abe01ae] part of check-in [232dbe8ece] Fix a typo in walfault.test. (check-in: [232dbe8ece] user: dan branch: trunk, size: 42842) | |
10:36 | [fcd2c4ce4a] part of check-in [a60104aa7e] Test that the correct number of padding frames are appended to the log file after committing a transaction in synchronous=FULL mode. (check-in: [a60104aa7e] user: dan branch: trunk, size: 42666) | |
2010-05-03
| ||
17:18 | [f2dd17d7ed] part of check-in [9d3f3736be] Fix a couple of errors in WAL code that can occur in an OOM situation. (check-in: [9d3f3736be] user: dan branch: trunk, size: 42605) | |
16:30 | [5face3be07] part of check-in [43b5b07f0d] Change the VFS definition so that all methods take a VFS object pointer as their first parameter. (check-in: [43b5b07f0d] user: drh branch: trunk, size: 42587) | |
2010-05-01
| ||
20:17 | [dadd533e01] part of check-in [94dea5f9c1] 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: [94dea5f9c1] user: drh branch: wal, size: 42521) | |
16:40 | [4a9b7fb028] part of check-in [9b230c43df] Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. (check-in: [9b230c43df] user: dan branch: wal, size: 42656) | |
2010-04-30
| ||
17:05 | [2115a90d42] part of check-in [79d356fea6] Fix a problem with resizing the wal-index mapping after the mapping has been extended by an external process. (check-in: [79d356fea6] user: dan branch: wal, size: 42564) | |
16:50 | [f4bdb4f86f] part of check-in [9526b11130] Fix a problem with calculating the required size of the wal-index when appending frames. (check-in: [9526b11130] user: dan branch: wal, size: 42552) | |
16:24 | [efe21d703c] part of check-in [598de52700] Reapply commits [837d82a929] and [c05e7dca17] that were accidentally overwritten. (check-in: [598de52700] user: dan branch: wal, size: 42540) | |
16:12 | [f08889611d] part of check-in [d9250e84ac] Correctly record the fact that the SHM lock reached PENDING if it did so but failed to reach CHECKPOINT. (check-in: [d9250e84ac] user: drh branch: wal, size: 41051) | |
15:49 | [e4a52d13bf] part of check-in [c05e7dca17] 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: [c05e7dca17] user: dan branch: wal, size: 42529) | |
15:24 | [94ebe9e477] part of check-in [837d82a929] If a reader attempts to upgrade to a writer, but is not reading the most recent database snapshot, return SQLITE_BUSY. (check-in: [837d82a929] user: dan branch: wal, size: 41546) | |
14:39 | [a4c643582f] part of check-in [4cbe49f13f] Separate the concepts of underlying storage size and mapped size in the VFS shared-memory implementation. (check-in: [4cbe49f13f] user: drh branch: wal, size: 41038) | |
11:43 | [9327e0d4e2] part of check-in [1f9e8c5c27] Add a missing walIndexUnmap() call to the checkpoint code. Change a couple of SQLITE_CANTOPEN constants to SQLITE_CANTOPEN_BKPT. (check-in: [1f9e8c5c27] user: dan branch: wal, size: 40416) | |
10:24 | [153dc952b5] part of check-in [2e7a0050e1] Fix an assert() in sqlite3WalRead(). (check-in: [2e7a0050e1] user: dan branch: wal, size: 40388) | |
09:52 | [6f0fdfac56] part of check-in [a8f958be80] Fix a couple of assert() statements in os_unix.c and wal.c. Combine sqlite3WalIsDirty() with sqlite3WalUndo(). (check-in: [a8f958be80] user: dan branch: wal, size: 40353) | |
09:32 | [b617892b95] part of check-in [72b95fde15] Add a missing walIndexUnmap() to sqlite3WalSnapshotOpen(). (check-in: [72b95fde15] user: dan branch: wal, size: 40589) | |
02:13 | [d9d76a8189] part of check-in [a92c1851da] The first 6 WAL tests now work. It's a start. (check-in: [a92c1851da] user: drh branch: wal, size: 40505) | |
2010-04-29
| ||
22:34 | [1c984ba3bb] part of check-in [62db5fa3b6] 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: [62db5fa3b6] user: drh branch: wal, size: 40281) | |
14:51 | [b1c6868b97] part of check-in [d1cadeed4e] Fix a bug in the WAL checkpoint code causing SQLite to use an inconsistent cache in a subsequent transaction. (check-in: [d1cadeed4e] user: dan branch: wal, size: 65678) | |
2010-04-28
| ||
17:48 | [d63318e8e7] part of check-in [25f85f6872] Change walthread.test so that tests can be run with either multiple threads or multiple processes. (check-in: [25f85f6872] user: dan branch: wal, size: 65184) | |
2010-04-27
| ||
18:49 | [1576b36d55] part of check-in [8c2d43babd] Merge two "wal" leaves. (check-in: [8c2d43babd] user: dan branch: wal, size: 65185) | |
05:42 | [26d2a7028c] part of check-in [b51a5f8bc6] 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. (check-in: [b51a5f8bc6] user: dan branch: wal, size: 65182) | |
2010-04-26
| ||
16:57 | [ce03bdd759] part of check-in [6a944f028d] Fixes for problems with small caches and SAVEPOINT rollback in WAL mode. (check-in: [6a944f028d] user: dan branch: wal, size: 64355) | |
10:40 | [f93ce8968d] part of check-in [3d159939cc] Add mutexes to fix a race condition in wal.c. This isn't a very good fix. (check-in: [3d159939cc] user: dan branch: wal, size: 63790) | |
00:19 | Renamed and modified src/log.c → src/wal.c. [df5283ae70] part of check-in [56fe5d7624] Change the names of the log.c and log.h source files to wal.c and wal.h. (check-in: [56fe5d7624] user: drh branch: wal, size: 63075) | |