-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Inaccurate ranges for DATETIME
and TIMESTAMP
#5035
Comments
related: #4753 |
Regarding the SELECT CONVERT_TZ("1970-01-01T00:00:01Z", "+00:00", @@session.time_zone); Returns SET @@session.time_zone = '+00:00'; And now the table returns I'm still investigating |
As far as I can tell, the docs are just wrong about |
PR regarding this issue: dolthub/go-mysql-server#1490 |
Dolt version
0.51.12
.MySQL version
8.0.31
Dolt does not allow the same
TIMESTAMP
andDATETIME
range as MySQL. From MySQL, the ranges should be inclusive of the start of the range:There also might be a bug/typo in MySQL since it's docs say that the
DATETIME
range starts at1000-01-01 00:00:00
, but can start well before that.TIMESTAMP
inserts do not need to be one second after the epoch in MySQL, which Dolt requires.The text was updated successfully, but these errors were encountered: