Repository navigation
Fixed
SqliteBackupConnectornow restores through the SQLite backup API instead of writing over the database file. In WAL mode, SQLite replayed a leftover-walfile over the restored file, so the restore had no effect. Restores inside an open transaction now raiseRestoreError, whichdbrestorereports as aCommandError, instead of failing with a backend-specific error.