mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-19 23:15:28 +01:00
remove dyn DatabaseStorage and replace it with DatabaseFile
This commit is contained in:
@@ -180,7 +180,7 @@ fn connect_sync(db: &DatabaseInner) -> napi::Result<()> {
|
||||
.open_file(&db.path, flags, false)
|
||||
.map_err(|e| to_generic_error("failed to open file", e))?;
|
||||
|
||||
let db_file = Arc::new(DatabaseFile::new(file));
|
||||
let db_file = DatabaseFile::new(file);
|
||||
let db_core = turso_core::Database::open_with_flags(
|
||||
io.clone(),
|
||||
&db.path,
|
||||
|
||||
Reference in New Issue
Block a user