-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix binary-column data corruption (#157)
This commit addresses a data corruption bug in the binlog streaming phase, where the binlog writer incorrectly propagates values in fixed-length BINARY columns that have trailing 0s in the original value. These trailing 0s are removed from the binlog by the SQL master and therefore do not show up in the WHERE clause for update/delete statements executed by the binlog writer. NOTE: This commit requires changes to one of the vendor'ed modules in github.com/siddontang/go-mysql that we patch directly in the local repo. We are working on getting these changes into the upstream module and will need to merge these changes once we can use the latest upstream module version. Change-Id: Ib9c1b7308e8198f1fd38439c37f444d9a8154e6a
- Loading branch information
Clemens Kolbitsch
committed
Mar 11, 2020
1 parent
76555c1
commit 1a9ea62
Showing
3 changed files
with
128 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.