-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: fixed system_time_zone
value in TiDB
#13894
Comments
system_time_zone
value in TiDBsystem_time_zone
value in TiDB
One applicable solution is that we always use
The value of this variable is inferred for the initial bootstrapping process of TiDB, it will never change later. And this is the time_zone used by TiDB when Please also notice that if we use this, TiDB still have different behavior in some scenarios, for example:
As shown above,
In the case above, TiDB will use
(https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html) Sounds weird. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
From MySQL document:
What did you see instead?
For now TiDB use fixed
CST
value.What version of TiDB are you using (
tidb-server -V
or runselect tidb_version();
on TiDB)?This bug exists in almost all TiDB versions.
TiDB v4.0.0 beta
The text was updated successfully, but these errors were encountered: