SQLite

All files named ”src/journal.c”
Login

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

History for src/journal.c

2017-06-02
23:44
Deleted: Merge all recent trunk enhancements. (check-in: [1d23294d88] user: drh branch: lsm-vtab, size: 0)
2016-03-09
08:08
Deleted: Merge latest trunk changes with this branch. (check-in: [59caca4387] user: dan branch: schemalint, size: 0)
2016-03-05
15:35
Deleted: Remove the unused journal.c source file (its function have been subsumed into memjournal.c). Refactor some of the names in memjournal.c. No functional changes. (check-in: [5f2a262d3f] user: drh branch: trunk, size: 0)
2016-02-27
20:14
[673cbdde56] part of check-in [e0b0b43165] Extend the code in memjournal.c so that it subsumes the role of journal.c. And (untested) can flush journal or statement journal files to disk after they grow to a specified size. (check-in: [e0b0b43165] user: dan branch: memjournal-exp, size: 7302)
2016-02-13
23:43
[fe3a3e2559] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 7288)
2012-12-18
11:59
[b412453221] part of check-in [8183d8d7ae] On atomic-write capable systems, if copying the contents of an in-memory journal to disk fails, close the (on disk) journal file before returning the error to the caller. This causes the subsequent rollback operation to use the in-memory journal. Fix for [df678d738adb]. (check-in: [8183d8d7ae] user: dan branch: trunk, size: 7283)
2012-12-05
10:01
[eb7b9f5e78] part of check-in [11aa47b0a8] If the atomic-write property is enabled, a transaction may be committed in journal_mode=DELETE mode without ever actually creating a journal file on disk. In this case, do not attempt to unlink() the journal file when committing the transaction. (check-in: [11aa47b0a8] user: dan branch: trunk, size: 6936)
2010-07-13
23:41
[552839e54d] part of check-in [6336de7aa9] Tweaks to the new shared-memory interface design - mostly comment changes. (check-in: [6336de7aa9] user: drh branch: experimental, size: 6556)
2010-07-02
16:36
[cb9f12b673] part of check-in [dafb3577a2] Add initializers for the xShmXXX() members to an sqlite3_io_methods structure in journal.c. This doesn't fix any real problem, just prevents a compiler warning. (check-in: [dafb3577a2] user: dan branch: trunk, size: 6588)
2009-11-10
01:30
[b0ea6b70b5] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 6425)
2009-01-20
17:06
[e00df0c0da] part of check-in [12f7346c13] Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197) (check-in: [12f7346c13] user: danielk1977 branch: trunk, size: 6501)
2008-05-01
18:01
[cffd2cd214] part of check-in [70e708660f] Fix a problem with journal files being created unnecessarily when doing an atomic write in exclusive access locking mode. Fix a test script problem. (CVS 5075) (check-in: [70e708660f] user: drh branch: trunk, size: 6441)
2007-09-06
13:49
[807bed7a15] part of check-in [3298441086] Updated comments on journal.c. No changes to code. (CVS 4408) (check-in: [3298441086] user: drh branch: trunk, size: 6439)
2007-09-03
15:19
[a45147d798] part of check-in [020a2b10d4] Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) (check-in: [020a2b10d4] user: drh branch: trunk, size: 5364)
2007-09-01
18:24
[63f8a40827] part of check-in [02b751fb9d] Fix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367) (check-in: [02b751fb9d] user: danielk1977 branch: trunk, size: 5369)
2007-08-31
18:34
[2e0fb96d5e] part of check-in [306586c412] Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) (check-in: [306586c412] user: drh branch: trunk, size: 5450)
2007-08-24
08:15
[573911e274] part of check-in [bdf5cb8d25] Add tests to simulate power-failure on devices that support IOCAP_SEQUENTIAL or IOCAP_SAFE_APPEND. (CVS 4284) (check-in: [bdf5cb8d25] user: danielk1977 branch: trunk, size: 5491)
2007-08-23
08:06
[03d6b5cc1a] part of check-in [e2cc7b4a34] Add some tests for the atomic-write optimization. (CVS 4275) (check-in: [e2cc7b4a34] user: danielk1977 branch: trunk, size: 5208)
2007-08-22
11:22
Added: [5ba2a1443b] part of check-in [581fadfe31] Add code for the atomic-write optimisation. Disabled by default. (CVS 4268) (check-in: [581fadfe31] user: danielk1977 branch: trunk, size: 5154)