diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-04-13 16:26:03 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-04-13 16:28:07 +0530 |
commit | 2ec0c9b58e015e04fccbcaa44169d1dddf8c6987 (patch) | |
tree | 84e336ad4df7b241cabea804578cae785e49c8bf | |
parent | a8b25f0990558eb7dd316151bda4e1d730cd02be (diff) | |
download | mariadb-git-bb-10.4-thiru.tar.gz |
MDEV-30076 ibuf_insert tries to insert the entry for uncommitted indexbb-10.4-thiru
- Change buffer should not buffer the changes for uncommitted index
-rw-r--r-- | storage/innobase/ibuf/ibuf0ibuf.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/ibuf/ibuf0ibuf.cc b/storage/innobase/ibuf/ibuf0ibuf.cc index 3fe74c3a270..6e3462d0302 100644 --- a/storage/innobase/ibuf/ibuf0ibuf.cc +++ b/storage/innobase/ibuf/ibuf0ibuf.cc @@ -3577,6 +3577,10 @@ ibuf_insert( ulint zip_size, que_thr_t* thr) { + if (!index->is_committed()) { + DBUG_RETURN(false); + } + dberr_t err; ulint entry_size; ibool no_counter; |