-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more consistency checks into reader_context (#28)
When 'format description' event is encountered, we expect it to have a recognized binlog version (default_binlog_version == 4). Also, the length of the common header specified in FDE should match with what we use during parsing (default_common_header_length == 19). We also check that the values from the post header length array in FDE are the same as what we use for parsing (generic_post_header<xxx>::size_in_bytes).
- Loading branch information
1 parent
a385fee
commit e2d8a8d
Showing
3 changed files
with
90 additions
and
11 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
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