mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Rename send_ok to my_ok. Similarly to my_error, it only records the status,
does not send it to the client.
This commit is contained in:
@@ -252,7 +252,7 @@ bool purge_error_message(THD* thd, int res)
|
||||
my_message(errmsg, ER(errmsg), MYF(0));
|
||||
return TRUE;
|
||||
}
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ bool purge_master_logs(THD* thd, const char* to_log)
|
||||
char search_file_name[FN_REFLEN];
|
||||
if (!mysql_bin_log.is_open())
|
||||
{
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@ bool purge_master_logs_before_date(THD* thd, time_t purge_time)
|
||||
{
|
||||
if (!mysql_bin_log.is_open())
|
||||
{
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
return 0;
|
||||
}
|
||||
return purge_error_message(thd,
|
||||
@@ -884,7 +884,7 @@ int start_slave(THD* thd , Master_info* mi, bool net_report)
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
else if (net_report)
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
@@ -936,7 +936,7 @@ int stop_slave(THD* thd, Master_info* mi, bool net_report )
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
else if (net_report)
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
@@ -1279,7 +1279,7 @@ bool change_master(THD* thd, Master_info* mi)
|
||||
|
||||
unlock_slave_threads(mi);
|
||||
thd_proc_info(thd, 0);
|
||||
send_ok(thd);
|
||||
my_ok(thd);
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user