Tidb: Potential timezone related bugs caused by `gotime.Local` location

Created on 20 Nov 2019  路  4Comments  路  Source: pingcap/tidb

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    When dealing with timestamps, currently there are several pieces of codes that used gotime.Local as the timezone location rather than system/global/session variables, which may lead to unexpected errors:
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    Such codes exist in all TiDB versions.
severitmajor siinfra statuhelp-wanted typbug

Most helpful comment

I am working on it.

All 4 comments

I am working on it.

Thanks! @Rustin-Liu

@bb7133 can we close this issue?

I remember it seems that we still have this problem in some places. So maybe we can find all the problems and open a new issue to track them.

Or just keep this and update the issue desc? @fzhedu cc: @bb7133

Was this page helpful?
0 / 5 - 0 ratings