We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cde6a08 commit cc1b771Copy full SHA for cc1b771
store/tikv/txn.go
@@ -75,7 +75,7 @@ func (txn *tikvTxn) SetVars(vars *kv.Variables) {
75
txn.snapshot.vars = vars
76
}
77
78
-// SetMemBufCap sets the transaction's MemBuffer capability, to reduce memory allocations.
+// SetCap sets the transaction's MemBuffer capability, to reduce memory allocations.
79
func (txn *tikvTxn) SetCap(cap int) {
80
txn.us.SetCap(cap)
81
0 commit comments