Skip to content

Commit cc1b771

Browse files
oioojzz-jason
authored andcommitted
store/tikv: fix typo (#7990)
1 parent cde6a08 commit cc1b771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/tikv/txn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (txn *tikvTxn) SetVars(vars *kv.Variables) {
7575
txn.snapshot.vars = vars
7676
}
7777

78-
// SetMemBufCap sets the transaction's MemBuffer capability, to reduce memory allocations.
78+
// SetCap sets the transaction's MemBuffer capability, to reduce memory allocations.
7979
func (txn *tikvTxn) SetCap(cap int) {
8080
txn.us.SetCap(cap)
8181
}

0 commit comments

Comments
 (0)