danielk1977
|
f7f33fb08a
|
Fix a case where during a rollback triggered by an IO or malloc error an unjournalled region of the database could be written to (with it's original data). This was causing an assert in test_journal.c to fail. Add a test case in ioerr2.test to trigger this case. (CVS 6286)
FossilOrigin-Name: 315a6692f9a03a470871cce4f74567683546f343
|
2009-02-12 09:11:56 +00:00 |
|
danielk1977
|
4faa5f41b8
|
Modify the test_journal.c code to (1) account for the backup code writing to parts of the pending-byte page when changing a databases page-size, and (2) to avoid reading from the pending-byte page and triggering the assert in os_unix.c. Changes to test code only. (CVS 6280)
FossilOrigin-Name: 4879621658c2c785ab7b12dbae780901496d3a78
|
2009-02-11 07:38:11 +00:00 |
|
drh
|
44805ad8b6
|
Sometimes a single byte is written to the main database file. Make sure
that journaltest knows this. (CVS 6168)
FossilOrigin-Name: e0af5a43f3c6ae41042c74339e7404d3373fd6ce
|
2009-01-11 18:24:27 +00:00 |
|
danielk1977
|
e86a5b7798
|
Clean up test_journal.c to make it easier to follow. (CVS 6140)
FossilOrigin-Name: 5a28c7c7b45655dcfd0da4898e77d0240b511c5f
|
2009-01-08 12:05:56 +00:00 |
|
danielk1977
|
f70c1fee96
|
Make the same change as (6121) (accidentally reverted). Also enhance test_journal.c to catch this kind of bug. (CVS 6136)
FossilOrigin-Name: ccc9c211a285fd4da68b69e15594f080371be522
|
2009-01-07 18:08:48 +00:00 |
|
danielk1977
|
cd1cbff38b
|
Modify test_journal.c to verify the page data being written to the journal file. (CVS 6123)
FossilOrigin-Name: 0d258956f8971c0af7853b836a7d6e7f3a800c37
|
2009-01-06 17:52:43 +00:00 |
|
danielk1977
|
401b65ed77
|
Fix a memory leak in test_journal.c (test code). Also remove function pager_truncate_cache(), a wrapper around sqlite3PCacheTruncate(), from pager.c. (CVS 6118)
FossilOrigin-Name: a64f3db0b39af53c8d8f80c242baa8aa4b5bd04e
|
2009-01-06 14:34:34 +00:00 |
|
danielk1977
|
0d519ca883
|
Fix some test code problems in "permutations.test journaltest pager.test". (CVS 6109)
FossilOrigin-Name: cf627752c4537f709acae26a1e335731d55bddb2
|
2009-01-05 17:15:00 +00:00 |
|
danielk1977
|
a641748220
|
Fix a couple of problems in test file test_journal.c that were causing segfaults when running all.test. (CVS 6063)
FossilOrigin-Name: 416c9efb49ba207a9a79d06d0b13854695a8876c
|
2008-12-24 09:30:22 +00:00 |
|
danielk1977
|
f3107512f7
|
Add a case to permutations.test to run tests with the test_journal.c backend installed. Also many fixes to test_journal.c and one quite obscure fix to pager.c. (CVS 6052)
FossilOrigin-Name: bb177e3072ab61d0af7af91660ebe4dafa487b42
|
2008-12-22 10:58:46 +00:00 |
|
danielk1977
|
a0fc72967e
|
Add a vfs backend that detects problems like the one addressed by (6043) and (6047). (CVS 6049)
FossilOrigin-Name: 49172e487610268662c39fc4038032779a41c47f
|
2008-12-20 18:33:59 +00:00 |
|