Restore without SQLITE_FCNTL_PERSIST_WAL (#529)

This commit is contained in:
Toni Spets
2023-12-16 12:04:14 +02:00
committed by GitHub
parent c633eb1fea
commit 1af88c4052

2
db.go
View File

@@ -1485,7 +1485,7 @@ func applyWAL(ctx context.Context, index int, dbPath string) error {
} }
// Open SQLite database and force a truncating checkpoint. // Open SQLite database and force a truncating checkpoint.
d, err := sql.Open("litestream-sqlite3", dbPath) d, err := sql.Open("sqlite3", dbPath)
if err != nil { if err != nil {
return err return err
} }