diff --git a/src/sql/code_generator/ob_column_index_provider.cpp b/src/sql/code_generator/ob_column_index_provider.cpp index ef592b845c09a460cc59cc53e1ba1012debe8dfc..5f4b8668fccff4953d33cb5852ea232f72f4416c 100644 --- a/src/sql/code_generator/ob_column_index_provider.cpp +++ b/src/sql/code_generator/ob_column_index_provider.cpp @@ -80,7 +80,6 @@ int RowDesc::add_column(ObRawExpr *raw_expr) SQL_CG_LOG(WARN, "failed to get hashmap", K(ret)); } } - if (OB_SUCC(ret) && !raw_expr->has_flag(IS_COLUMNLIZED) && OB_FAIL(raw_expr->add_flag(IS_COLUMNLIZED))) { SQL_CG_LOG(WARN, "failed to add flag", K(ret)); diff --git a/src/storage/tx/ob_tx_2pc_msg_handler.cpp b/src/storage/tx/ob_tx_2pc_msg_handler.cpp index 19cd3e815209e38ca861ec707cfd67bad57cb9fa..1e90c9a70e61eb7ecd24bd76380f7222a450ea19 100644 --- a/src/storage/tx/ob_tx_2pc_msg_handler.cpp +++ b/src/storage/tx/ob_tx_2pc_msg_handler.cpp @@ -367,7 +367,9 @@ int ObPartTransCtx::set_2pc_participants_(const ObLSArray &participants) { int ret = OB_SUCCESS; - exec_info_.participants_ = participants; + if (OB_FAIL(exec_info_.participants_.assign(participants))) { + TRANS_LOG(WARN, "set participants error", K(ret), K(participants), KPC(this)); + } return ret; }