Skip to content
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

A suggestion about adding attributes to RowsEvent in handleEvent #965

Open
chenlong1728717074 opened this issue Jan 5, 2025 · 1 comment

Comments

@chenlong1728717074
Copy link

When using go-mysql-org to operate mysqlbinlog, I noticed that the RowsEvent in the handleRowsEvent method is missing the NextLogName attribute from MySQL's binlog. This requires separate handling when operating, which can be inconvenient.
If the NextLogName attribute could be included, it would greatly enhance the convenience of operations. I hope you can consider adding this attribute to RowsEvent.
Thank you for maintaining this project!

@dveeden
Copy link
Collaborator

dveeden commented Jan 5, 2025

The NextLogName is in the RotateEvent and I think this isn't include in the row based replication events.

Could you share a bit more about your usecase? Maybe there is another better solution for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants