maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #04596
Re: logging original SQL statement along with ROW events
> On 10 Jun 2017, at 02:05, Justin Swanhart <greenlion@xxxxxxxxx> wrote:
>
> I seem to recall reading that MariaDB can annotate the binary log with the original SQL statement for a given set of ROW changes in the binary log, but I can't seem to find documentation on this on the wiki.
>
> Can MariaDB log the original STATEMENT along with the ROW changeset? If so, can you point me to the relevant documentation, or better yet the patch itself that makes this possible?
>
Is this what you were after? https://mariadb.com/kb/en/mariadb/annotate_rows_log_event/
--
Colin Charles, http://bytebot.net/blog/
twitter: @bytebot | skype: colincharles
"First they ignore you, then they laugh at you, then they fight you, then you win." -- Mohandas Gandhi
References