diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-04-13 16:26:03 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-04-19 17:11:14 +0530 |
commit | 660afb1e9c11d4fe1ba806557c60cda3f62b1be1 (patch) | |
tree | fbf1686d88aeb9b6a9a4d7d1026c0d299ab8888e | |
parent | 2bfd04e3145b238df5f31143b98b1df501f43d1e (diff) | |
download | mariadb-git-660afb1e9c11d4fe1ba806557c60cda3f62b1be1.tar.gz |
MDEV-30076 ibuf_insert tries to insert the entry for uncommitted index
- 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..d611c7793f7 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()) { + return false; + } + dberr_t err; ulint entry_size; ibool no_counter; |