/ File History
Login

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

History of test/snapshot.test

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