summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-07-13 02:13:04 +0200
committerunknown <lars@mysql.com>2005-07-13 02:13:04 +0200
commit8daa1c422927964741c2977aea50567558d5f607 (patch)
tree288cefd45b67649d427ee7a8a02969119055a4a4 /sql/log.cc
parent1c8ef0cbd025557fc34f02d9a8cc99a392579141 (diff)
parent73fd169d0215700583f335c6e42243e3fa1553c4 (diff)
downloadmariadb-git-8daa1c422927964741c2977aea50567558d5f607.tar.gz
Merge mysql.com:/home/bkroot/mysql-4.1
into mysql.com:/home/bk/mysql-5.0 BitKeeper/etc/config: Auto merged include/my_global.h: Auto merged sql/des_key_file.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/mysql_priv.h: Auto merged sql/net_serv.cc: Auto merged vio/vio.c: Auto merged vio/viosocket.c: Auto merged sql/log.cc: Manual merge sql/slave.cc: Manual merge
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index e69c0af15bd..44fff28b612 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1154,6 +1154,9 @@ int MYSQL_LOG::purge_logs(const char *to_log,
*/
if (my_stat(log_info.log_file_name,&s,MYF(0)))
file_size= s.st_size;
+ else
+ sql_print_information("Failed to execute my_stat on file '%s'",
+ log_info.log_file_name);
}
/*
It's not fatal if we can't delete a log file ;