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

@@ -68,7 +68,7 @@ pub extern "system" fn Java_tech_turso_core_TursoDB_openUtf8<'local>(
}
};
let db = match Database::open_file(io.clone(), &path, false, true) {
let db = match Database::open_file(io.clone(), &path, false, true, turso_core::MvccMode::Noop) {
Ok(db) => db,
Err(e) => {
set_err_msg_and_throw_exception(&mut env, obj, TURSO_ETC, e.to_string());