-
Notifications
You must be signed in to change notification settings - Fork 684
Developed the Mariadbannotate ros event #412
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
Developed the Mariadbannotate ros event #412
Conversation
…ication of sql_statement field.
As of MariaDB 10.2.4, the binlog-annotate-row-events is enabled by default, with query strings recorded in the ANNOTATE_ROWS_EVENT. This enhances utility of replication data for users and opens up many use case possibilities. However, given that this event precedes every row event, it may lead to an overload if DML is frequent. But the option for clients to receive this data by adjusting the BinLogStreamReader's |
Thanks ! |
I am happy to contribute to the project |
mariadb-annotate-rows-event
1. Development of 'MariadbAnnotateRowsEvent'
MariadbAnnotateRowsEvent
class based on the following document2. Changes to the Binlogstream Object for MariaDB Replication
Updated the isMariadb field to check for MariaDB and set the 'mariadb settings' (
__set_mariadb_settings
) accordingly.auto_position
field existed for MariaDB detection.auto_position
field is not specified.Added the annotate_rows_event field to enable the specific feature.
annotate_rows_event
parameter to activate this feature.3. Test code
annotate_rows_event