Lumosql

View Ticket
Login

View Ticket

Ticket Hash: 82094de055286e8011fc22c0666bedc0ba4230a5
Title: Sqlite src/backup.c assert looks up internal BTree mutex
Status: Closed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2026-06-20 10:42:14
153.3 days ago
Created: 2020-11-09 08:02:01
6.03 years ago
Version Found In:
User Comments:
danshearer added on 2020-11-09 08:02:01:

in backup.c:

assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) );

This mutex is private to BTree and doesn't apply to other backends.

Unsure yet whether the generic API will need an equivalent


danshearer added on 2026-06-20 10:42:14:

lumo-backup.c abstracts all this away now.