fix:multivalue allow drop/truncate partition
This commit is contained in:
@ -15073,7 +15073,9 @@ int ObDDLService::check_alter_partitions(const ObTableSchema &orig_table_schema,
|
|||||||
}
|
}
|
||||||
bool has_fts_or_multivalue_index = false;
|
bool has_fts_or_multivalue_index = false;
|
||||||
const int64_t table_id = orig_table_schema.get_table_id();
|
const int64_t table_id = orig_table_schema.get_table_id();
|
||||||
if (OB_FAIL(ret)) {
|
if (OB_FAIL(ret) ||
|
||||||
|
alter_part_type == obrpc::ObAlterTableArg::DROP_PARTITION ||
|
||||||
|
alter_part_type == obrpc::ObAlterTableArg::TRUNCATE_PARTITION ) {
|
||||||
} else if (OB_FAIL(check_has_domain_index(schema_guard,
|
} else if (OB_FAIL(check_has_domain_index(schema_guard,
|
||||||
tenant_id,
|
tenant_id,
|
||||||
table_id,
|
table_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user