diff options
-rw-r--r-- | sql/sql_repl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index d9f02488077..f71d5a311ab 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -293,7 +293,7 @@ int purge_master_logs(THD* thd, const char* to_log) char search_file_name[FN_REFLEN]; if (!mysql_bin_log.is_open()) { - send_ok(current_thd); + send_ok(thd); return 0; } @@ -308,7 +308,7 @@ int purge_master_logs_before_date(THD* thd, time_t purge_time) { if (!mysql_bin_log.is_open()) { - send_ok(current_thd); + send_ok(thd); return 0; } return purge_error_message(thd, |