diff --git a/executor/adapter.go b/executor/adapter.go index bacf2e1d4cc0e..87f87a9712516 100644 --- a/executor/adapter.go +++ b/executor/adapter.go @@ -1028,7 +1028,6 @@ func (a *ExecStmt) LogSlowQuery(txnTS uint64, succ bool, hasMoreResults bool) { } logutil.SlowQueryLogger.Warn(slowLog) if costTime >= threshold { - logutil.SlowQueryLogger.Warn(sessVars.SlowLogFormat(slowItems)) if sessVars.InRestrictedSQL { totalQueryProcHistogramInternal.Observe(costTime.Seconds()) totalCopProcHistogramInternal.Observe(execDetail.TimeDetail.ProcessTime.Seconds())