Ignore error code while get_chunks

This commit is contained in:
obdev
2023-05-26 04:46:56 +00:00
committed by ob-robot
parent d5ddb1fb96
commit 16682044d4

View File

@ -763,7 +763,7 @@ void ObMallocAllocator::modify_tenant_memory_access_permission(ObTenantCtxAlloca
{
AChunk *chunks[1024] = {nullptr};
int chunk_cnt = 0;
abort_unless(OB_SUCCESS == get_chunks(ta, chunks, sizeof(chunks)/sizeof(chunks[0]), chunk_cnt));
get_chunks(ta, chunks, sizeof(chunks)/sizeof(chunks[0]), chunk_cnt);
for (int i = 0; i < chunk_cnt; i++) {
AChunk *chunk = chunks[i];
if (chunk != nullptr) {