From 5985c7ac279b6d49f4ff4e27607450fd2331423b Mon Sep 17 00:00:00 2001 From: chaser-ch Date: Sat, 10 Feb 2024 10:12: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 0a36485ad..aa99478ee 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;