-
Notifications
You must be signed in to change notification settings - Fork 1k
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
MySQL timestamp '0000-00-00 00:00:00' incorrectly converts to '1970-01-01 00:00:00' #928
Comments
yeah, this used to be behavior that we preserved, looks like it broke when we moved from open-replicator to mysql-binlog-connector. I can fix it for timestamp columns, but for datetime columns I've opened an issue with the binlog-connector guys. |
MySQL datetime '0000-00-00 00:00:00' converts to 'null'. Is there any chance that we get a fix? |
Yup, fix is in development |
address #928 - correctly output broken "0000-00-00 00:00:00" times again
Thank you for the fix. |
all fixed in v1.14.0 |
Perfectly fixed. Thanks a lot! |
MySQL timestamp '0000-00-00 00:00:00' incorrectly converts to '1970-01-01 00:00:00'
The output from Maxwell, notice the
1970-01-01 00:00:00
Maxwell states that MySQL allows for invalid
DATETIME
as0000-00-00 00:00:00
. The same rule should hold true for aTIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00'
column.The text was updated successfully, but these errors were encountered: