forked from facebook/mysql-5.6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FB8-92: Checking for NULL while preparing write set according to binl…
…og_row_image (facebook#990) (facebook#990) Summary: Jira issue: https://jira.percona.com/browse/FB8-92 Reference Patch: facebook@f3dc487 Field::cmp_binary_offset returns 0 when comparing a NULL text field and an empty string leading to the field not being logged when the value is changed from NULL to empty string. This fix first checks if both AI and BI fields are not NULL before comparing them. Originally Reviewed By: santoshbanda Pull Request resolved: facebook#990 Differential Revision: D14652424 (facebook@b6a8e1d) fbshipit-source-id: 61a8844cc3a
- Loading branch information
1 parent
22d6884
commit 25fc8cd
Showing
2 changed files
with
15 additions
and
1 deletion.
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