summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 50471041ee1..c9e20bc0cc9 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -767,6 +767,7 @@ int MYSQL_LOG::purge_logs(const char *to_log,
!log_in_use(log_info.log_file_name))
{
ulong tmp;
+ LINT_INIT(tmp);
if (decrease_log_space) //stat the file we want to delete
{
MY_STAT s;