/ All files named "test/snapshot.test"
Login

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

History for test/snapshot.test

2018-08-31
19:00
[a504f2e7] part of check-in [e0792312] 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: [e0792312] user: dan branch: trunk, size: 12533)
2018-08-06
17:12
[fef12fc5] part of check-in [051ac015] Allow sqlite3_snapshot_open() to be called to change the snapshot after a read transaction is already open on database. (check-in: [051ac015] user: dan branch: exp-snapshot-open, size: 12530)
2016-11-18
18:43
[85735bd9] part of check-in [83b658da] Require that the database handle be in autocommit mode for sqlite3_snapshot_get() to succeed. This is because it may open a read transaction on the database file. (check-in: [83b658da] user: dan branch: serializable-snapshot, size: 12106)
14:38
[bb34cc38] part of check-in [16b9bf92] Enhance existing snapshot tests to serialize/deserialize snapshots. No new tests. (check-in: [16b9bf92] user: dan branch: serializable-snapshot, size: 11837)
2016-05-09
23:11
[a1946504] part of check-in [79ecd0ef] Fixes to requirements marks. No changes to code. (check-in: [79ecd0ef] user: drh branch: trunk, size: 10404)
2016-04-12
15:14
[3adc4ef0] part of check-in [8fc83474] Update the documentation for sqlite3_snapshot_cmp() to make the circumstances under which the comparison is valid clearer. Add tests for the same. (check-in: [8fc83474] user: dan branch: snapshot-cmp, size: 10581)
2016-04-11
19:59
[4488cd49] part of check-in [c698a21a] Add the sqlite3_snapshot_cmp() API. (check-in: [c698a21a] user: dan branch: snapshot-cmp, size: 9602)
2016-03-24
15:09
[9ed24c79] part of check-in [f4d234b5] Fix some test scripts so that they work with various permutations. (check-in: [f4d234b5] user: dan branch: trunk, size: 8850)
2016-02-27
14:00
[c03eb5ba] part of check-in [33dd671c] Enhance documentation of sqlite3_snapshot_open() to explain that the database connection must have participated in at least one read operation prior to the beginning of the transaction for which the snapshot is to be opened. Add test cases for this fact. (check-in: [33dd671c] user: drh branch: trunk, size: 8512)
2016-02-05
16:46
[5ec4651d] part of check-in [a6b35273] From test scripts, remove stray "breakpoint" commands and blank lines at the ends of files. (check-in: [a6b35273] user: drh branch: trunk, size: 7984)
2015-12-11
03:20
[efc6b4ed] part of check-in [5fd008f0] Disable the snapshot test scripts if not compiled with SQLITE_ENABLE_SNAPSHOT. (check-in: [5fd008f0] user: drh branch: snapshot-get, size: 7995)
2015-12-10
20:03
[bfcf7285] part of check-in [b9c90f10] Update the sqlite3_snapshot_get() API so that if the caller does not have an open read transaction on the named database, one is automatically opened. (check-in: [b9c90f10] user: dan branch: snapshot-get, size: 7954)
19:44
[62983ac4] part of check-in [f3b74362] Add tests to snapshot.test. (check-in: [f3b74362] user: dan branch: snapshot-get, size: 7580)
19:11
[184c7ed2] part of check-in [5343060b] Return SQLITE_BUSY (not SQLITE_BUSY_SNAPSHOT) if sqlite3_snapshot_open() fails to obtain the shared checkpointer lock. (check-in: [5343060b] user: dan branch: snapshot-get, size: 6765)
18:06
[5631669a] part of check-in [b908048b] Add tests to ensure that an sqlite3_snapshot_open() client cannot be tricked into reading a corrupt snapshot even if another process fails mid-checkpoint. (check-in: [b908048b] user: dan branch: snapshot-get, size: 5819)
15:45
[f91d9074] part of check-in [8084eae0] Have sqlite3_snapshot_open() avoid a race condition by taking a shared CHECKPOINTER lock while checking pInfo->nBackfillAttempted. (check-in: [8084eae0] user: dan branch: snapshot-get, size: 5874)
2015-12-09
20:05
[800e0be4] part of check-in [7315f7cb] Update sqlite3_snapshot_open() to reduce the chances of reading a corrupt snapshot created by a checkpointer process exiting unexpectedly. (check-in: [7315f7cb] user: dan branch: snapshot-get, size: 5924)
2015-12-07
14:33
Added: [061dc75b] part of check-in [502cc6f3] Add tests for snapshot_get(), _open() and _free(). (check-in: [502cc6f3] user: dan branch: snapshot-get, size: 5328)