summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-09-14 18:57:22 +0500
committerunknown <ram@gw.mysql.r18.ru>2004-09-14 18:57:22 +0500
commitf198cb35b7729d5b72c3fea4f50b0adf904789a4 (patch)
tree3ac52895477a31d39feb8ec096524fd114f8dd11 /sql/sql_repl.cc
parent52b355e1f8a23764213fe0b4b352c8226b67f341 (diff)
downloadmariadb-git-f198cb35b7729d5b72c3fea4f50b0adf904789a4.tar.gz
code clean-up
sql/sql_repl.cc: code clean-up: we can use thd here.
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc4
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,