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

What are "server_version_split" and "number_of_event_types" in "FormatDescriptionEvent" class? #626

Open
davisgogogo opened this issue Nov 26, 2024 · 0 comments

Comments

@davisgogogo
Copy link

davisgogogo commented Nov 26, 2024

code reference:

self.server_version_split = struct.unpack("<3B", self.packet.read(3))

self.number_of_event_types = struct.unpack("<B", self.packet.read(1))[0]

There are two attributes, "server_version_split" and "number_of_event_types", and i have not find those two fields in MySQL documents (I saw https://dev.mysql.com/doc/dev/mysql-server/8.0.40/page_protocol_replication_binlog_event.html).

So what are they? Maybe they are in some older MySQL version?

Thanks.

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

No branches or pull requests

1 participant