mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
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.
This commit is contained in:
parent
762bf7a03b
commit
e156a8da08
9 changed files with 16 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue