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

@@ -277,7 +277,7 @@ pub fn connect(path: &str) -> Result<Connection> {
io: Arc<dyn limbo_core::IO>,
path: &str,
) -> std::result::Result<Arc<limbo_core::Database>, PyErr> {
limbo_core::Database::open_file(io, path).map_err(|e| {
limbo_core::Database::open_file(io, path, false).map_err(|e| {
PyErr::new::<DatabaseError, _>(format!("Failed to open database: {:?}", e))
})
}