diff options
author | unknown <knielsen@knielsen-hq.org> | 2011-01-26 15:35:03 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2011-01-26 15:35:03 +0100 |
commit | 6dbd796074a2b55410aaad3fd24192b628b990ac (patch) | |
tree | 952e514c4cff9a717d28510335286594de965e3b /sql/log.h | |
parent | 2cbfdfc210ac5132de7c197c99b18990ec8c954a (diff) | |
parent | 79a8e5f61ba345af4f188075f6af60dc59ffee25 (diff) | |
download | mariadb-git-6dbd796074a2b55410aaad3fd24192b628b990ac.tar.gz |
Merge three Percona patches into mariadb-5.2-rpl:
- MWL#47, allowing to annotate row-based binlog events with the SQL test of
the originating query (eg. in mysqlbinlog output).
- row_based_replication_without_primary_key.patch, providing more intelligent
selection of index to use on slave when applying row-based binlog events
for tables with no primary key.
- Make mysqlbinlog omit redundant `use` around BEGIN/SAVEPOINT/COMMIT/
ROLLBACK in 5.0 binlogs.
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log.h b/sql/log.h index a7e5ea6fc8c..601ffae31c9 100644 --- a/sql/log.h +++ b/sql/log.h @@ -467,7 +467,8 @@ public: void new_file(); void reset_gathered_updates(THD *thd); - bool write(Log_event* event_info); // binary log write + bool write(Log_event* event_info, + my_bool *with_annotate= 0); // binary log write bool write_transaction_to_binlog(THD *thd, binlog_trx_data *trx_data, Log_event *end_ev, bool all); |