mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
cli: Add --experimental-mvcc
option to enable MVCC
This commit is contained in:
parent
5d0982f5db
commit
96175cccf7
14 changed files with 27 additions and 18 deletions
|
@ -25,7 +25,7 @@ pub unsafe extern "C" fn db_open(path: *const c_char) -> *mut c_void {
|
|||
p if p.contains(":memory:") => Arc::new(limbo_core::MemoryIO::new()),
|
||||
_ => Arc::new(limbo_core::PlatformIO::new().expect("Failed to create IO")),
|
||||
};
|
||||
let db = Database::open_file(io.clone(), path);
|
||||
let db = Database::open_file(io.clone(), path, false);
|
||||
match db {
|
||||
Ok(db) => {
|
||||
let conn = db.connect().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue