statistics, store: tidy local variable (#9679)

This commit is contained in:
Keyi Xie
2019-03-13 10:34:19 +08:00
committed by Zhang Jian
parent 52b7bfda0e
commit aef66b2435
2 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ func (b *Backoffer) Backoff(typ backoffType, err error) error {
b.totalSleep += f(b.ctx)
b.types = append(b.types, typ)
var startTs interface{} = ""
var startTs interface{}
if ts := b.ctx.Value(txnStartKey); ts != nil {
startTs = ts
}