cli: Add --experimental-mvcc option to enable MVCC

This commit is contained in:
Pekka Enberg
2025-03-06 09:06:51 +02:00
parent 5d0982f5db
commit 96175cccf7
14 changed files with 27 additions and 18 deletions

View File

@@ -116,7 +116,7 @@ pub unsafe extern "C" fn sqlite3_open(
Err(_) => return SQLITE_MISUSE,
},
};
match limbo_core::Database::open_file(io, filename) {
match limbo_core::Database::open_file(io, filename, false) {
Ok(db) => {
let conn = db.connect().unwrap();
*db_out = Box::leak(Box::new(sqlite3::new(db, conn)));