summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-06 14:10:51 +0200
committermonty@hundin.mysql.fi <>2001-12-06 14:10:51 +0200
commitb658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae (patch)
tree5892a4c0af05e8a0354e957498fe09243b13eebc /sql/sql_repl.cc
parentb4da2fb0ab60caad614ed5ba3705367d7004ab22 (diff)
downloadmariadb-git-b658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae.tar.gz
Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 6c738ba36b4..acad297cda1 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -612,7 +612,7 @@ int stop_slave(THD* thd, bool net_report )
/* there is a small chance that slave thread might miss the first
alarm. To protect againts it, resend the signal until it reacts
*/
-
+
struct timespec abstime;
#ifdef HAVE_TIMESPEC_TS_SEC
abstime.ts_sec=time(NULL)+2;
@@ -1051,5 +1051,3 @@ int log_loaded_block(IO_CACHE* file)
}
return 0;
}
-
-