mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
changed function name to prevent injection wrong code from 4.1 (WL#2133)
This commit is contained in:
@@ -867,7 +867,7 @@ int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
|
||||
if (slave_errno)
|
||||
{
|
||||
if (net_report)
|
||||
send_error(thd, slave_errno);
|
||||
my_error(slave_errno, MYF(0));
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
else if (net_report)
|
||||
@@ -917,7 +917,7 @@ int stop_slave(THD* thd, MASTER_INFO* mi, bool net_report )
|
||||
if (slave_errno)
|
||||
{
|
||||
if (net_report)
|
||||
send_error(thd, slave_errno);
|
||||
my_error(slave_errno, MYF(0));
|
||||
return 1;
|
||||
}
|
||||
else if (net_report)
|
||||
|
Reference in New Issue
Block a user