summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-03-14 09:27:34 +0100
committerserg@serg.mylan <>2005-03-14 09:27:34 +0100
commita6b3b8fa98305862172fb1b267f11f06004a929f (patch)
treefe3a09f5176405d16c846db8f2fb565384814f4d /sql
parent9248f0d714dbd56ad0995ae38cf0679c8005d39f (diff)
downloadmariadb-git-a6b3b8fa98305862172fb1b267f11f06004a929f.tar.gz
print more information
Diffstat (limited to 'sql')
-rw-r--r--sql/log.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 7d6496626d5..a73dd483711 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -2488,7 +2488,7 @@ int TC_LOG_MMAP::open(const char *opt_name)
{
inited= 1;
crashed= TRUE;
- sql_print_information("Recovering after a crash");
+ sql_print_information("Recovering after a crash using %s", opt_name);
if (tc_heuristic_recover)
{
sql_print_error("Cannot perform automatic crash recovery when "
@@ -2948,7 +2948,10 @@ int TC_LOG_BINLOG::open(const char *opt_name)
if ((ev= Log_event::read_log_event(&log, 0, &fdle)) &&
ev->get_type_code() == FORMAT_DESCRIPTION_EVENT &&
ev->flags & LOG_EVENT_BINLOG_IN_USE_F)
+ {
+ sql_print_information("Recovering after a crash using %s", opt_name);
error= recover(&log, (Format_description_log_event *)ev);
+ }
else
error=0;