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