fix all open_file use cases for mvcc mode

This commit is contained in:
Pere Diaz Bou
2025-09-16 21:13:24 +02:00
parent 9b35c6efb6
commit e2824835dc
18 changed files with 268 additions and 64 deletions

View File

@@ -151,7 +151,13 @@ pub unsafe extern "C" fn sqlite3_open(
Err(_) => return SQLITE_CANTOPEN,
},
};
match turso_core::Database::open_file(io.clone(), filename_str, false, false) {
match turso_core::Database::open_file(
io.clone(),
filename_str,
false,
false,
turso_core::MvccMode::Noop,
) {
Ok(db) => {
let conn = db.connect().unwrap();
let filename = match filename_str {