Skip to content

Conversation

shlomi-noach
Copy link
Contributor

fixes #450

This PR will fix the following issue: when applying events from binlog and where column type is TIMESTAMP(6) or DATETIME(6), submillis can get corrupted. In particular this happens when submillis are 0*. For example, the value 2016-10-31 11:22:33.012300 turns to 2016-10-31 11:22:33.123000.

Initial commit adds a test to reproduce & validate the problem.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing July 19, 2017 12:58 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing July 19, 2017 13:02 Inactive
@shlomi-noach
Copy link
Contributor Author

Sent to testing

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing July 19, 2017 19:27 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing July 20, 2017 15:08 Inactive
@shlomi-noach shlomi-noach merged commit 40eb800 into master Jul 21, 2017
@shlomi-noach shlomi-noach deleted the datetime-6-millis-corruption branch July 21, 2017 03:36
@shlomi-noach
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with DATETIME(6) on MariaDB
2 participants