-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About binlogFileName #14
Comments
You can do this to solve the problem. first change class RotateEventParser.Add contribute private ReplicationBasedBinlogParser r , and add constructor like below -private ReplicationBasedBinlogParser r; Second change method parse in this class like belowpublic void parse(XInputStream is, BinlogEventV4Header header, BinlogParserContext context) Third change method getDefaultBinlogParser in class OpenParser like below
|
In rotate event, i can obtain a correct value with "((RotateEvent)event).getBinlogFileName".
But after that, in the other event(include rotate event), i get a incorrect value with "event.getHeader().getBinlogFileName", i think when rotate event, only the value of RotateEvent instance has been changed, not the others?
The text was updated successfully, but these errors were encountered: