fix core at create_normal_tenant
This commit is contained in:
@ -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())) {
|
||||
|
||||
@ -9303,8 +9303,8 @@ const ObLSInfo &ObDetectMasterRsLSResult::get_ls_info() const
|
||||
ObBatchBroadcastSchemaArg::ObBatchBroadcastSchemaArg()
|
||||
: tenant_id_(common::OB_INVALID_TENANT_ID),
|
||||
sys_schema_version_(common::OB_INVALID_VERSION),
|
||||
tables_(),
|
||||
allocator_("BroadcastSchema", OB_MALLOC_MIDDLE_BLOCK_SIZE)
|
||||
allocator_("BroadcastSchema", OB_MALLOC_MIDDLE_BLOCK_SIZE),
|
||||
tables_()
|
||||
{}
|
||||
|
||||
ObBatchBroadcastSchemaArg::~ObBatchBroadcastSchemaArg()
|
||||
|
||||
@ -9634,9 +9634,8 @@ public:
|
||||
private:
|
||||
uint64_t tenant_id_;
|
||||
int64_t sys_schema_version_;
|
||||
common::ObSArray<share::schema::ObTableSchema> tables_;
|
||||
public:
|
||||
common::ObArenaAllocator allocator_;
|
||||
common::ObSArray<share::schema::ObTableSchema> tables_;
|
||||
};
|
||||
|
||||
struct ObBatchBroadcastSchemaResult
|
||||
|
||||
Reference in New Issue
Block a user