diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-07-06 15:59:51 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-07-06 15:59:51 +0530 |
commit | 40c80123019750a28dadb55b78b68a4a05dbee53 (patch) | |
tree | 92ca77f3f3bd59fddef8b06766b01fb55512f32d | |
parent | 79c166c56db7b48fac682c87f68a221539e58551 (diff) | |
download | mariadb-git-bb-10.5-thiru_1.tar.gz |
- Note down the PAGE FREE redo log record even though space isbb-10.5-thiru_1
not available
-rw-r--r-- | storage/innobase/log/log0recv.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/innobase/log/log0recv.cc b/storage/innobase/log/log0recv.cc index 7afac5c7d54..5d4b244c2cb 100644 --- a/storage/innobase/log/log0recv.cc +++ b/storage/innobase/log/log0recv.cc @@ -655,7 +655,9 @@ public: ut_ad(mutex_own(&recv_sys.mutex)); ut_ad(recv_no_ibuf_operations); for (map::value_type& i : inits) { - i.second.created = false; + if (i.second.created) { + i.second.created = false; + } } } @@ -2135,12 +2137,12 @@ same_page: case STORE_NO: if (!is_init) continue; + mlog_init.add(id, start_lsn); map::iterator i= pages.find(id); if (i == pages.end()) continue; i->second.log.clear(); pages.erase(i); - mlog_init.add(id, start_lsn); } } #if 1 /* MDEV-14425 FIXME: this must be in the checkpoint file only! */ |