mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03: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:
@ -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);
|
||||
|
Reference in New Issue
Block a user