Restore without SQLITE_FCNTL_PERSIST_WAL (#529)
This commit is contained in:
2
db.go
2
db.go
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user