From 6de2b9bdf1965aab5a07624982260dda03201707 Mon Sep 17 00:00:00 2001 From: kun Date: Mon, 22 Oct 2018 18:17:07 +0800 Subject: [PATCH] store/tikv: fix typo --- store/tikv/txn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/tikv/txn.go b/store/tikv/txn.go index 96ff1311244f9..110135718667a 100644 --- a/store/tikv/txn.go +++ b/store/tikv/txn.go @@ -75,7 +75,7 @@ func (txn *tikvTxn) SetVars(vars *kv.Variables) { txn.snapshot.vars = vars } -// SetMemBufCap sets the transaction's MemBuffer capability, to reduce memory allocations. +// SetCap sets the transaction's MemBuffer capability, to reduce memory allocations. func (txn *tikvTxn) SetCap(cap int) { txn.us.SetCap(cap) }