mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 09:44:21 +01:00
core/mvcc: Make Clippy happy
This commit is contained in:
@@ -630,7 +630,7 @@ impl<Clock: LogicalClock, T: Sync + Send + Clone + Debug + 'static> Database<Clo
|
||||
}
|
||||
}
|
||||
|
||||
let tx = tx_unlocked.value().write().unwrap();
|
||||
let tx = tx_unlocked.value().read().unwrap();
|
||||
tx.state.store(TransactionState::Terminated);
|
||||
tracing::trace!("TERMINATE {tx}");
|
||||
// FIXME: verify that we can already remove the transaction here!
|
||||
|
||||
@@ -47,8 +47,6 @@ mod tests {
|
||||
|
||||
static IDS: AtomicU64 = AtomicU64::new(1);
|
||||
|
||||
static START: Once = Once::new();
|
||||
|
||||
#[test]
|
||||
fn test_non_overlapping_concurrent_inserts() {
|
||||
// Two threads insert to the database concurrently using non-overlapping
|
||||
|
||||
Reference in New Issue
Block a user