/ All files named "src/test_journal.c"
Login

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

History for src/test_journal.c

2019-02-06
20:12
[a0b9709b] part of check-in [0e6249cb] Update an assert() in test_journal.c to take the new "VACUUM INTO" functionality into account. (check-in: [0e6249cb] user: dan branch: trunk, size: 27173)
2017-03-20
16:06
[619f2aa1] part of check-in [285005a9] Do not run sync2.test as part of the "journaltest" permutation, as it uses "PRAGMA synchronous = off". (check-in: [285005a9] user: dan branch: trunk, size: 27158)
2016-04-27
18:54
[d3b83f2b] part of check-in [2662d8fe] Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. (check-in: [2662d8fe] user: dan branch: permutations-fix, size: 26939)
2016-04-14
13:16
[da540964] part of check-in [7ee570e7] Since the return value of sqlite3OsClose() is always ignored, we might as well make it "void" instead of "int", and thereby save 50 bytes in the compiled binary. (check-in: [7ee570e7] user: drh branch: trunk, size: 26676)
2015-01-12
20:25
[5360fbe1] part of check-in [bdbeed01] Fix harmless compiler warning in an assert() statement. (check-in: [bdbeed01] user: mistachkin branch: msvcW4, size: 26663)
19:49
[de3402cb] part of check-in [923fd660] Harmless compiler warning fixes for 'testfixture' and the miscellaneous extensions when built with the MSVC makefile. (check-in: [923fd660] user: mistachkin branch: msvcW4, size: 26644)
2012-04-19
18:04
[f5c0a05b] part of check-in [3281972e] Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. (check-in: [3281972e] user: drh branch: trunk, size: 26618)
2012-03-30
14:59
[b964473f] part of check-in [cb7a8504] Fix MSVC compiler warnings in test code. (check-in: [cb7a8504] user: drh branch: trunk, size: 26601)
2012-01-13
14:50
[a6a6baf3] part of check-in [3f4899a9] Do not throw an error from within test_journal.c if a database file size is not an integer multiple of the page-size. (check-in: [3f4899a9] user: dan branch: trunk, size: 26570)
10:04
[a70f1b79] part of check-in [5afbcd49] Fix test case issues related to errors in file-controls and the PSOW flag. (check-in: [5afbcd49] user: dan branch: trunk, size: 26490)
2011-12-21
18:04
[2c06e4be] part of check-in [c723e3e1] Fix other problems where 32-bit integer overflow may cause a problem. Two that require an improbably large sub-journal and two in test harness code. Ticket [ac0ff496b7e2] (check-in: [c723e3e1] user: dan branch: trunk, size: 26478)
2011-05-23
18:37
[03313c69] part of check-in [a65d043a] Minor cleanups to the header comments on various test_*.c file, to make the suitable for programmer-level documentation. (check-in: [a65d043a] user: drh branch: trunk, size: 26473)
2010-08-09
16:12
[785edd54] part of check-in [f229487c] Fix a memory leak in test_journal.c causing tests to fail. (check-in: [f229487c] user: dan branch: experimental, size: 26477)
2010-08-06
09:43
[5ac89727] part of check-in [4894a5d2] Modify test_journal.c to work with pre-allocated databases. (check-in: [4894a5d2] user: dan branch: experimental, size: 26450)
2010-07-03
17:13
[424a334c] part of check-in [51ec0e54] Remove the unused xRename() method from the sqlite3_vfs object. Add better documentation on the xCurrentTimeInt64() method. (check-in: [51ec0e54] user: drh branch: trunk, size: 26171)
2010-06-10
10:51
[044c1a53] part of check-in [ec3b4a7e] Update the test VFS in test_journal.c so that it implements the xCurrentTimeInt64 method. (check-in: [ec3b4a7e] user: drh branch: trunk, size: 26218)
2010-05-03
14:32
[51da4dd6] part of check-in [ab77b3ae] Use VFS method xCurrentTimeInt64 instead of xCurrentTime when it is available. Provide an implementation of xCurrentTimeInt64 for os_unix.c. (check-in: [ab77b3ae] user: drh branch: trunk, size: 25663)
2010-04-27
11:49
[0537fcf9] part of check-in [ed715b47] Add the xShmRelease() method to the VFS. The os_unix.c implementation of the shared memory logic is still non-functional. (check-in: [ed715b47] user: drh branch: wal, size: 25663)
2010-04-26
00:04
[6f2db1b8] part of check-in [f5e615c2] Begin moving WAL-specific I/O into the VFS. This checkin contains VFS infrastructure but it is untested and is not yet hooked up to the WAL. The version number is bumped to 3.7.0 because of the VFS extension. (check-in: [f5e615c2] user: drh branch: wal, size: 26106)
2009-11-10
01:30
[adc0ce38] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 25663)
2009-06-26
10:39
[dab49b7c] part of check-in [58884b6c] Another change to test_journal.c to account for (6817). Again, only test code has changed. (CVS 6819) (check-in: [58884b6c] user: danielk1977 branch: trunk, size: 25734)
09:01
[de9b1c13] part of check-in [542ee8cc] Update test_journal.c to account for (6817). Changes to test code only. (CVS 6818) (check-in: [542ee8cc] user: danielk1977 branch: trunk, size: 25320)
2009-04-07
11:21
[28673a22] part of check-in [6f79e6ae] Change "... myfunction() { ... }" to "... myfunction(void) { ... }" in a few pla ces. Ticket #3783. (CVS 6462) (check-in: [6f79e6ae] user: danielk1977 branch: trunk, size: 25237)
2009-03-28
17:21
[1e7baebc] part of check-in [45df27a2] Fix thread related problems in test modules test_async.c and test_journal.c. (CVS 6399) (check-in: [45df27a2] user: danielk1977 branch: trunk, size: 25233)
2009-03-26
11:49
[1d3fd9e7] part of check-in [45ae830d] Ensure that the test vfs in test_journal.c zeroes sqlite3_file.pMethods if an xOpen() call fails. Similar problem to that fixed by #6384. This was a problem with test code, not SQLite itself. (CVS 6387) (check-in: [45ae830d] user: danielk1977 branch: trunk, size: 24770)
2009-03-05
04:20
[632011e4] part of check-in [6404afa0] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (check-in: [6404afa0] user: shane branch: trunk, size: 24741)
2009-02-12
09:11
[b0d0468f] part of check-in [315a6692] 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) (check-in: [315a6692] user: danielk1977 branch: trunk, size: 24746)
2009-02-11
07:38
[15f9d013] part of check-in [48796216] 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) (check-in: [48796216] user: danielk1977 branch: trunk, size: 24335)
2009-01-11
18:24
[0f4b9a92] part of check-in [e0af5a43] Sometimes a single byte is written to the main database file. Make sure that journaltest knows this. (CVS 6168) (check-in: [e0af5a43] user: drh branch: trunk, size: 23855)
2009-01-08
12:05
[f234c735] part of check-in [5a28c7c7] Clean up test_journal.c to make it easier to follow. (CVS 6140) (check-in: [5a28c7c7] user: danielk1977 branch: trunk, size: 23843)
2009-01-07
18:08
[88a097a9] part of check-in [ccc9c211] Make the same change as (6121) (accidentally reverted). Also enhance test_journal.c to catch this kind of bug. (CVS 6136) (check-in: [ccc9c211] user: danielk1977 branch: trunk, size: 19313)
2009-01-06
17:52
[ce3da048] part of check-in [0d258956] Modify test_journal.c to verify the page data being written to the journal file. (CVS 6123) (check-in: [0d258956] user: danielk1977 branch: trunk, size: 19017)
14:34
[a70ac20f] part of check-in [a64f3db0] 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) (check-in: [a64f3db0] user: danielk1977 branch: trunk, size: 17246)
2009-01-05
17:15
[036ad7ab] part of check-in [cf627752] Fix some test code problems in "permutations.test journaltest pager.test". (CVS 6109) (check-in: [cf627752] user: danielk1977 branch: trunk, size: 17223)
2008-12-24
09:30
[3e1ff6dc] part of check-in [416c9efb] Fix a couple of problems in test file test_journal.c that were causing segfaults when running all.test. (CVS 6063) (check-in: [416c9efb] user: danielk1977 branch: trunk, size: 16731)
2008-12-22
10:58
[aec37656] part of check-in [bb177e30] 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) (check-in: [bb177e30] user: danielk1977 branch: trunk, size: 16602)
2008-12-20
18:33
Added: [74b97d63] part of check-in [49172e48] Add a vfs backend that detects problems like the one addressed by (6043) and (6047). (CVS 6049) (check-in: [49172e48] user: danielk1977 branch: trunk, size: 16039)