From f0a19537dccba296f5b5a8f9561267294f385e6f Mon Sep 17 00:00:00 2001 From: ym0 Date: Fri, 18 Feb 2022 11:07:00 +0800 Subject: [PATCH] Allow to drop index column which is still referencing by a delay deleted index. --- src/rootserver/ob_ddl_operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rootserver/ob_ddl_operator.cpp b/src/rootserver/ob_ddl_operator.cpp index 8524e9b30..e1d84f931 100644 --- a/src/rootserver/ob_ddl_operator.cpp +++ b/src/rootserver/ob_ddl_operator.cpp @@ -1441,7 +1441,7 @@ int ObDDLOperator::alter_table_drop_aux_column(ObSchemaService& schema_service, RS_LOG(WARN, "table type not supporrted", K(ret), K(table_type)); } else if (OB_FAIL(schema_service_.get_tenant_schema_guard(tenant_id, schema_guard))) { RS_LOG(WARN, "get schema guard failed", K(ret)); - } else if (OB_FAIL(new_table_schema.get_simple_index_infos(simple_index_infos))) { + } else if (OB_FAIL(new_table_schema.get_simple_index_infos_without_delay_deleted_tid(simple_index_infos))) { LOG_WARN("get simple_index_infos without delay_deleted_tid failed", K(ret)); } // update all aux table schema