Skip to content

Commit

Permalink
store: no need to assign timezone name to dagReq again (pingcap#7368)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexuany authored Aug 13, 2018
1 parent cf5e392 commit 396b242
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion store/mockstore/mocktikv/cop_handler_dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 396b242

Please sign in to comment.