[CP] Set connect by array block allocator to effective tenant
This commit is contained in:
@ -288,8 +288,10 @@ int ObNLConnectByOp::inner_open()
|
|||||||
true /* enable dump */, 0))) {
|
true /* enable dump */, 0))) {
|
||||||
LOG_WARN("init chunk row store failed", K(ret));
|
LOG_WARN("init chunk row store failed", K(ret));
|
||||||
} else {
|
} else {
|
||||||
connect_by_pump_.set_allocator(mem_context_->get_malloc_allocator());
|
ObIAllocator &alloc = mem_context_->get_malloc_allocator();
|
||||||
connect_by_pump_.datum_store_.set_allocator(mem_context_->get_malloc_allocator());
|
connect_by_pump_.set_allocator(alloc);
|
||||||
|
connect_by_pump_.datum_store_.set_allocator(alloc);
|
||||||
|
connect_by_pump_.pump_stack_.set_block_allocator(ModulePageAllocator(alloc, "CnntArrays"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
@ -129,7 +129,11 @@ int ObNLConnectByWithIndexOp::inner_open()
|
|||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
LOG_WARN("null memory entity returned", K(ret));
|
LOG_WARN("null memory entity returned", K(ret));
|
||||||
} else {
|
} else {
|
||||||
connect_by_pump_.set_allocator(mem_context_->get_malloc_allocator());
|
ObIAllocator &alloc = mem_context_->get_malloc_allocator();
|
||||||
|
connect_by_pump_.set_allocator(alloc);
|
||||||
|
connect_by_pump_.pump_stack_.set_block_allocator(ModulePageAllocator(alloc, "CnntArrays"));
|
||||||
|
connect_by_pump_.path_stack_.set_block_allocator(ModulePageAllocator(alloc, "CnntArrays"));
|
||||||
|
connect_by_pump_.sort_stack_.set_block_allocator(ModulePageAllocator(alloc, "CnntArrays"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user