Keep Windows intent and diagnostic databases read-only with rusqlite 0.41

This commit is contained in:
2026-11-18 10:11:02 +01:00
parent 0f15f91f65
commit 72d95dee11
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ impl Store {
pub fn open_empty_history_snapshot() -> Result<Self> {
let store = Self::open(false)?;
ensure!(
store.db.is_readonly(rusqlite::DatabaseName::Main)?,
store.db.is_readonly(rusqlite::MAIN_DB)?,
"read-only intent snapshot required"
);
store