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:26:25 +0530 |
commit | baf43e72bfe7b0d58a580a1495b6a7e9dceb4903 (patch) | |
tree | dd1c90f2246926bddb916da47587175c3a886c7e | |
parent | c0eeb72526bb4c6656d84b89ced33880ca1639d1 (diff) | |
download | mariadb-git-bb-10.6-MDEV-30076.tar.gz |
MDEV-30076 ibuf_insert tries to insert the entry for uncommitted indexbb-10.6-MDEV-30076
- 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 2cdbbd88330..f0b56f78284 100644 --- a/storage/innobase/ibuf/ibuf0ibuf.cc +++ b/storage/innobase/ibuf/ibuf0ibuf.cc @@ -3493,6 +3493,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; |