diff --git a/src/share/schema/ob_partition_sql_helper.cpp b/src/share/schema/ob_partition_sql_helper.cpp index 7656f73873284a84e9a0974a88b5b60bb33fc48c..2f7b5a824f6280e05659ece77037480f000e7ce0 100644 --- a/src/share/schema/ob_partition_sql_helper.cpp +++ b/src/share/schema/ob_partition_sql_helper.cpp @@ -2040,7 +2040,6 @@ int ObDropIncPartHelper::drop_partition_info_for_nontemplate() if (OB_SUCC(ret) && inc_sub_part_num > 0) { int64_t affected_rows = 0; if (OB_FAIL(sql_client_.write(exec_tenant_id, sub_part_history_sql.ptr(), affected_rows))) { - ret = OB_ERR_UNEXPECTED; LOG_WARN("execute sql failed", K(ret), K(sub_part_history_sql)); } else if (affected_rows != inc_sub_part_num) { ret = OB_ERR_UNEXPECTED;