diff --git a/store/mockstore/mocktikv/cop_handler_dag.go b/store/mockstore/mocktikv/cop_handler_dag.go index ab6fa5ca8fc46..0e40eb6211b26 100644 --- a/store/mockstore/mocktikv/cop_handler_dag.go +++ b/store/mockstore/mocktikv/cop_handler_dag.go @@ -153,7 +153,6 @@ func (h *rpcHandler) buildDAGExecutor(req *coprocessor.Request) (*dagContext, ex if sc.TimeZone, err = LocCache.getLoc(dagReq.TimeZoneName); err != nil { return nil, nil, nil, errors.Trace(err) } - dagReq.TimeZoneName = sc.TimeZone.String() } else { sc.TimeZone = time.FixedZone("UTC", int(dagReq.TimeZoneOffset)) }