Skip to content

Commit 84a09ab

Browse files
committed
save
1 parent b1246ae commit 84a09ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdbx/txn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ func BenchmarkTxn_Put_Sequence(b *testing.B) {
13941394
return
13951395
}
13961396

1397-
if err := env.View(func(txn *Txn) (err error) {
1397+
if err := env.Update(func(txn *Txn) (err error) {
13981398
b.ResetTimer()
13991399
for b.Loop() {
14001400
for i := 0; i < N; i++ {

0 commit comments

Comments
 (0)