diff --git a/src/objit/src/ob_llvm_di_helper.cpp b/src/objit/src/ob_llvm_di_helper.cpp index 631b7f537..9386e2409 100644 --- a/src/objit/src/ob_llvm_di_helper.cpp +++ b/src/objit/src/ob_llvm_di_helper.cpp @@ -419,9 +419,9 @@ int ObLLVMDIHelper::get_current_scope(ObLLVMDIScope &scope) } return ret; } - -ObLLVMDIHelper::ObDIBasicTypeAttr ObLLVMDIHelper::basic_type_[common::ObMaxType] = -{ + +ObLLVMDIHelper::ObDIBasicTypeAttr ObLLVMDIHelper::basic_type_[common::ObMaxType] = +{ {"null", 0, 0, 0}, {"tinyint", 8, 8, llvm::dwarf::DW_ATE_signed}, {"smallint", 16, 16, llvm::dwarf::DW_ATE_signed}, diff --git a/src/rootserver/parallel_ddl/ob_create_index_helper.cpp b/src/rootserver/parallel_ddl/ob_create_index_helper.cpp index 88978d619..f87d8ebef 100644 --- a/src/rootserver/parallel_ddl/ob_create_index_helper.cpp +++ b/src/rootserver/parallel_ddl/ob_create_index_helper.cpp @@ -352,7 +352,7 @@ int ObCreateIndexHelper::is_local_generate_schema_(bool &is_local_generate) } else if (INDEX_TYPE_NORMAL_GLOBAL == arg_.index_type_ || INDEX_TYPE_UNIQUE_GLOBAL == arg_.index_type_ || INDEX_TYPE_SPATIAL_GLOBAL == arg_.index_type_) { - if (!orig_data_table_schema_->is_partitioned_table() && !arg_.index_schema_.is_partitioned_table()) { + if (!orig_data_table_schema_->is_partitioned_table() && !arg_.index_schema_.is_partitioned_table() && !orig_data_table_schema_->is_auto_partitioned_table()) { is_local_generate = true; } else { is_local_generate = false;