Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sometimes there is a usage for the optional binlog event
Rows_query
. It contains the original query that triggered other events that change something within the database. It is a "logging" mechanism of MySQL. So by enablingbinlog_rows_query_log_events
within the MySQL Settings those events will be stored to the database.With the enabled option the Binlog for a single update query would look like
So the query does allow additional additional information for a change. In MariaDB the event is named
Annotate_Rows
with a different type identifier and so can be surely implemented later if someone needs it.For more information: