This commit is contained in:
김선우
2024-09-15 17:16:33 +09:00
parent f08dc9e2c0
commit 07c4ca9edd

View File

@@ -50,7 +50,7 @@ pub struct Database {
impl Database {
#[cfg(feature = "fs")]
pub fn open_file(io: Arc<dyn crate::io::IO>, path: &str) -> Result<Database> {
pub fn open_file(io: Arc<dyn IO>, path: &str) -> Result<Database> {
let file = io.open_file(path)?;
let page_io = Rc::new(FileStorage::new(file));
let wal_path = format!("{}-wal", path);