Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
  • Loading branch information
MyonKeminta committed Apr 4, 2023
1 parent c301221 commit 65d8386
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/storage/txn/actions/acquire_pessimistic_lock.rs
Expand Up @@ -452,7 +452,6 @@ pub mod tests {
TestEngineBuilder,
};

#[cfg(test)]
pub fn acquire_pessimistic_lock_allow_lock_with_conflict<E: Engine>(
engine: &mut E,
key: &[u8],
Expand Down
1 change: 1 addition & 0 deletions src/storage/txn/actions/prewrite.rs
Expand Up @@ -2702,6 +2702,7 @@ pub mod tests {
let k1 = b"k1";
let k2 = b"k2";
let k3 = b"k3";
let k4 = b"k3";

must_prewrite_put(&mut engine, k1, b"v1", k1, 5);
must_commit(&mut engine, k1, 5, 8);
Expand Down

0 comments on commit 65d8386

Please sign in to comment.