mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
manual merge 10.1->10.2
This commit is contained in:
@ -2742,7 +2742,11 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
|
||||
run hook first when all check has been made that slave seems to
|
||||
be requesting a reasonable position. i.e when transmit actually starts
|
||||
*/
|
||||
if (RUN_HOOK(binlog_transmit, transmit_start, (thd, flags, log_ident, pos)))
|
||||
|
||||
DBUG_ASSERT(pos == linfo.pos);
|
||||
|
||||
if (RUN_HOOK(binlog_transmit, transmit_start,
|
||||
(thd, flags, linfo.log_file_name, linfo.pos)))
|
||||
{
|
||||
info->errmsg= "Failed to run hook 'transmit_start'";
|
||||
info->error= ER_UNKNOWN_ERROR;
|
||||
|
Reference in New Issue
Block a user