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 (#990) Summary: Jira issue: https://jira.percona.com/browse/FB8-92 Reference Patch: 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: #990 Differential Revision: D14652424 fbshipit-source-id: 19b6e3a
- Loading branch information
1 parent
6131512
commit b6a8e1d
Showing
2 changed files
with
14 additions
and
0 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