From e00617748069a363b0d6656d30daa50c48853fcf Mon Sep 17 00:00:00 2001 From: avi Date: Fri, 14 Apr 2023 22:06:55 +0530 Subject: [PATCH] fix typos --- core/mvcc/database/src/database.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mvcc/database/src/database.rs b/core/mvcc/database/src/database.rs index 05a662435..a2b6c235a 100644 --- a/core/mvcc/database/src/database.rs +++ b/core/mvcc/database/src/database.rs @@ -771,11 +771,11 @@ mod tests { }; db.insert(tx2, tx2_row.clone()).await.unwrap(); - // transaction in progress, so tx1 shouldn't be able to see the value yet + // transaction in progress, so tx1 shouldn't be able to see the value let row = db.read(tx1, 1).await.unwrap(); assert_eq!(row, None); - // lets commit the transaction and check if tx1 can see it now + // lets commit the transaction and check if tx1 can see it db.commit_tx(tx2).await.unwrap(); let row = db.read(tx1, 1).await.unwrap(); assert_eq!(row, None);