diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-04-08 18:31:18 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-04-09 21:25:31 +0530 |
commit | 6bbc0eedc637d2142b95578933e3f0fd7345ca18 (patch) | |
tree | 67915776435819e1920a2b13d660ced89d0a8e41 /storage/innobase/include/log0recv.h | |
parent | ff66d38cf26a096854836f6353609fb84e5d8ace (diff) | |
download | mariadb-git-6bbc0eedc637d2142b95578933e3f0fd7345ca18.tar.gz |
MDEV-22193 Avoid un-necessary page initialization during recovery
- InnoDB is doing un-necessary redo log page initialisation during
recovery and unnecessary traversal of redo log during last phase.
This patch does the optimization of removing unnecessary redo log page
initialisation and detects the memory exhaust earlier.
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index 1b4b1c3e6fd..4fea9b8ec68 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -356,7 +356,7 @@ public: @param apply whether to apply file-level log records @return whether FILE_CHECKPOINT record was seen the first time, or corruption was noticed */ - bool parse(lsn_t checkpoint_lsn, store_t store, bool apply); + bool parse(lsn_t checkpoint_lsn, store_t *store, bool apply); /** Clear a fully processed set of stored redo log records. */ inline void clear(); |