From f198cb35b7729d5b72c3fea4f50b0adf904789a4 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 14 Sep 2004 18:57:22 +0500 Subject: [PATCH] code clean-up sql/sql_repl.cc: code clean-up: we can use thd here. --- sql/sql_repl.cc | 4 ++-- 1 file 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,