From 43911a6cfcb6f0e5bdd7d9990c8f9d0bb1e1bec5 Mon Sep 17 00:00:00 2001 From: chaser-ch Date: Mon, 5 Feb 2024 07:43:38 +0000 Subject: [PATCH] add tenant id for value row iter allocator --- src/storage/ob_value_row_iterator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/storage/ob_value_row_iterator.cpp b/src/storage/ob_value_row_iterator.cpp index 0a36485ad9..aa99478eef 100644 --- a/src/storage/ob_value_row_iterator.cpp +++ b/src/storage/ob_value_row_iterator.cpp @@ -28,7 +28,7 @@ ObValueRowIterator::ObValueRowIterator() : ObNewRowIterator(), is_inited_(false), unique_(false), - allocator_(ObModIds::OB_VALUE_ROW_ITER), + allocator_("ObValueRowAlloc"), rows_(), cur_idx_(0) { @@ -45,6 +45,7 @@ int ObValueRowIterator::init(bool unique) ret = OB_INIT_TWICE; STORAGE_LOG(WARN, "ObValueRowIterator is already initialized", K(ret)); } else { + allocator_.set_tenant_id(MTL_ID()); is_inited_ = true; unique_ = unique; cur_idx_ = 0;