add tenant id for value row iter allocator
This commit is contained in:
@ -28,7 +28,7 @@ ObValueRowIterator::ObValueRowIterator()
|
|||||||
: ObNewRowIterator(),
|
: ObNewRowIterator(),
|
||||||
is_inited_(false),
|
is_inited_(false),
|
||||||
unique_(false),
|
unique_(false),
|
||||||
allocator_(ObModIds::OB_VALUE_ROW_ITER),
|
allocator_("ObValueRowAlloc"),
|
||||||
rows_(),
|
rows_(),
|
||||||
cur_idx_(0)
|
cur_idx_(0)
|
||||||
{
|
{
|
||||||
@ -45,6 +45,7 @@ int ObValueRowIterator::init(bool unique)
|
|||||||
ret = OB_INIT_TWICE;
|
ret = OB_INIT_TWICE;
|
||||||
STORAGE_LOG(WARN, "ObValueRowIterator is already initialized", K(ret));
|
STORAGE_LOG(WARN, "ObValueRowIterator is already initialized", K(ret));
|
||||||
} else {
|
} else {
|
||||||
|
allocator_.set_tenant_id(MTL_ID());
|
||||||
is_inited_ = true;
|
is_inited_ = true;
|
||||||
unique_ = unique;
|
unique_ = unique;
|
||||||
cur_idx_ = 0;
|
cur_idx_ = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user