SQLite

View Ticket
Login
Ticket Hash: e636a050b709785c50ad14d6062267b6e1605b54
Title: Database corruption in shared cache mode
Status: Fixed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2013-05-15 18:21:44
Version Found In: 3.7.16.2
User Comments:
drh added on 2013-05-13 18:00:00:
When two database connections share the same cache and one connection is in 
the middle of a write transaction and the other connection closes (with
sqlite3_close) or rolls back a transaction on a different attached database,
and the first connection continues to make changes to the database file and
then commits, the first connection can cause the database file to go corrupt.