mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-29 21:04:23 +01:00
wip wal
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use limbo_core::Database;
|
||||
use std::path::PathBuf;
|
||||
use std::rc::Rc;
|
||||
use std::sync::Arc;
|
||||
use tempfile::TempDir;
|
||||
|
||||
@@ -23,7 +24,7 @@ impl TempDatabase {
|
||||
Self { path, io }
|
||||
}
|
||||
|
||||
pub fn connect_limbo(&self) -> limbo_core::Connection {
|
||||
pub fn connect_limbo(&self) -> Rc<limbo_core::Connection> {
|
||||
let db = Database::open_file(self.io.clone(), self.path.to_str().unwrap()).unwrap();
|
||||
|
||||
db.connect()
|
||||
|
||||
Reference in New Issue
Block a user