summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-22 10:28:14 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-22 10:28:14 +0300
commitf6cb4f0a19487879171b2374ebcb71f34cee3024 (patch)
tree3aa479d3c872a067eae058cc2b79eae00240f9b4 /storage
parent8d0448d5075fe822e37f81b740e83f03ab318448 (diff)
downloadmariadb-git-f6cb4f0a19487879171b2374ebcb71f34cee3024.tar.gz
MDEV-13814 Extra logging when innodb_log_archive=ON
log_group_read_log_seg(): Only display the message during recovery, not during normal operation. When the XtraDB configuration parameter innodb_log_archive is set, this function will be called during normal operation.
Diffstat (limited to 'storage')
-rw-r--r--storage/xtradb/log/log0log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/log/log0log.cc b/storage/xtradb/log/log0log.cc
index a3b08eb6730..b8eaa08638f 100644
--- a/storage/xtradb/log/log0log.cc
+++ b/storage/xtradb/log/log0log.cc
@@ -2537,7 +2537,7 @@ loop:
start_lsn += len;
buf += len;
- if (recv_sys->report(ut_time())) {
+ if (recv_recovery_is_on() && recv_sys->report(ut_time())) {
ib_logf(IB_LOG_LEVEL_INFO, "Read redo log up to LSN=" LSN_PF,
start_lsn);
}