fix core at create_normal_tenant

This commit is contained in:
obdev
2024-02-08 00:26:51 +00:00
committed by ob-robot
parent af5bc4a3c3
commit d3211dc5be
3 changed files with 4 additions and 5 deletions

View File

@ -24846,8 +24846,8 @@ int ObDDLService::create_normal_tenant(
const int64_t start_time = ObTimeUtility::fast_current_time();
LOG_INFO("[CREATE_TENANT] STEP 2. start create tenant", K(tenant_id), K(tenant_schema), K(source_tenant_id));
int ret = OB_SUCCESS;
ObSArray<ObTableSchema> tables;
ObArenaAllocator arena_allocator("InnerTableSchem", OB_MALLOC_MIDDLE_BLOCK_SIZE);
ObSArray<ObTableSchema> tables;
if (OB_FAIL(check_inner_stat())) {
LOG_WARN("variable is not init", KR(ret));
} else if (OB_UNLIKELY(!recovery_until_scn.is_valid_and_not_min())) {