From 9b35c6efb666d800087dddad52224e19b7d4f4f5 Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Mon, 15 Sep 2025 16:14:04 +0200 Subject: [PATCH] rust/lib: expose mvccmode --- bindings/rust/src/lib.rs | 2 +- perf/throughput/turso/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/rust/src/lib.rs b/bindings/rust/src/lib.rs index 6887d418e..f16923dcb 100644 --- a/bindings/rust/src/lib.rs +++ b/bindings/rust/src/lib.rs @@ -40,7 +40,7 @@ pub mod value; use transaction::TransactionBehavior; #[cfg(feature = "conn_raw_api")] use turso_core::types::WalFrameInfo; -use turso_core::MvccMode; +pub use turso_core::MvccMode; pub use value::Value; pub use params::params_from_iter; diff --git a/perf/throughput/turso/src/main.rs b/perf/throughput/turso/src/main.rs index 4b3a2dc97..adf873da7 100644 --- a/perf/throughput/turso/src/main.rs +++ b/perf/throughput/turso/src/main.rs @@ -131,7 +131,7 @@ async fn setup_database(db_path: &str, mode: TransactionMode) -> Result builder.build().await?, TransactionMode::Mvcc | TransactionMode::Concurrent => { builder - .with_mvcc(true, turso::MvccMode::LogicalLog) + .with_mvcc(true, turso::MvccMode::Noop) .build() .await? }