diff options
author | Andrei Elkin <andrei.elkin@mariadb.com> | 2020-03-01 21:59:29 +0200 |
---|---|---|
committer | Andrei Elkin <andrei.elkin@mariadb.com> | 2020-06-12 11:25:27 +0300 |
commit | e156a8da08955445727385aee34ac9e2c735e4bd (patch) | |
tree | 138be428036d81cb0b3ceb2dd030757927e88a60 /sql/sql_binlog.cc | |
parent | 762bf7a03b6214f091a66ca8683df341112d7d4a (diff) | |
download | mariadb-git-e156a8da08955445727385aee34ac9e2c735e4bd.tar.gz |
MDEV-21851: Error in BINLOG_BASE64_EVENT i s always error-logged as if it is done by Slave
The prefix of error log message out of a failed BINLOG applying
is corrected to be the sql command name.
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r-- | sql/sql_binlog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index 4895eebdeb2..0011487f1dc 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -211,7 +211,7 @@ void mysql_client_binlog_statement(THD* thd) size_t coded_len= 0, decoded_len= 0; rli= thd->rli_fake; - if (!rli && (rli= thd->rli_fake= new Relay_log_info(FALSE))) + if (!rli && (rli= thd->rli_fake= new Relay_log_info(FALSE, "BINLOG_BASE64_EVENT"))) rli->sql_driver_thd= thd; if (!(rgi= thd->rgi_fake)) rgi= thd->rgi_fake= new rpl_group_info(rli); |