diff options
Diffstat (limited to 'storage/xtradb/log/log0log.cc')
-rw-r--r-- | storage/xtradb/log/log0log.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/xtradb/log/log0log.cc b/storage/xtradb/log/log0log.cc index 9a1eb1b1b28..64459b9c2c7 100644 --- a/storage/xtradb/log/log0log.cc +++ b/storage/xtradb/log/log0log.cc @@ -2581,8 +2581,16 @@ loop: (ulint) (source_offset % UNIV_PAGE_SIZE), len, buf, (type == LOG_ARCHIVE) ? &log_archive_io : NULL, 0); + if (release_mutex) { + mutex_enter(&log_sys->mutex); + } + log_decrypt_after_read(buf, len); + if (release_mutex) { + mutex_exit(&log_sys->mutex); + } + start_lsn += len; buf += len; |