Skip to content

Commit

Permalink
Some changes pingcap#18056
Browse files Browse the repository at this point in the history
Signed-off-by: jianyilyu <jianyilyu@126.com>
  • Loading branch information
jianyilyu committed Aug 12, 2020
1 parent dc3d9fc commit f7b4d8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions executor/insert_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,9 +1004,7 @@ func (e *InsertValues) batchCheckAndInsert(ctx context.Context, rows [][]types.D
}
}
}
if e.runtimeStats != nil {
e.snapshot.DelOption(kv.CollectRuntimeStats)
}
defer e.snapshot.DelOption(kv.CollectRuntimeStats)
return nil
}

Expand Down

0 comments on commit f7b4d8c

Please sign in to comment.