Fix module audit findings

This commit is contained in:
Janik Besendorf
2026-07-28 11:10:52 +02:00
parent 797411e1e5
commit 9a0cc62cc3
19 changed files with 364 additions and 83 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ def add_backup_manifest_entry(backup_path, file_id, domain, relative_path):
(file_id, domain, relative_path, b""),
)
conn.commit()
# MVT opens backup databases with immutable=1, which ignores any -wal file,
# so the new row has to be checkpointed into Manifest.db itself.
# Checkpoint the test change so the fixture does not retain SQLite sidecars.
conn.execute("PRAGMA journal_mode=DELETE;")
conn.close()