mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
code clean-up
This commit is contained in:
@@ -293,7 +293,7 @@ int purge_master_logs(THD* thd, const char* to_log)
|
|||||||
char search_file_name[FN_REFLEN];
|
char search_file_name[FN_REFLEN];
|
||||||
if (!mysql_bin_log.is_open())
|
if (!mysql_bin_log.is_open())
|
||||||
{
|
{
|
||||||
send_ok(current_thd);
|
send_ok(thd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -308,7 +308,7 @@ int purge_master_logs_before_date(THD* thd, time_t purge_time)
|
|||||||
{
|
{
|
||||||
if (!mysql_bin_log.is_open())
|
if (!mysql_bin_log.is_open())
|
||||||
{
|
{
|
||||||
send_ok(current_thd);
|
send_ok(thd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return purge_error_message(thd,
|
return purge_error_message(thd,
|
||||||
|
Reference in New Issue
Block a user