diff --git a/pkg/session/session.go b/pkg/session/session.go index 818a71f191f45..12e33c356702a 100644 --- a/pkg/session/session.go +++ b/pkg/session/session.go @@ -1563,7 +1563,7 @@ func (s *session) UpdateProcessInfo() { // Update the current transaction start timestamp. shallowCP.CurTxnStartTS = s.sessionVars.TxnCtx.StartTS shallowCP.CurTxnCreateTime = s.sessionVars.TxnCtx.CreateTime - s.processInfo.Store(&shallowCP) + s.processInfo.Store(shallowCP) } func (s *session) getOomAlarmVariablesInfo() util.OOMAlarmVariablesInfo {