提交 90253a82 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] fix a bug of swallowing ret code in drop_partition_info_for_nontemplate

上级 2b006430
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册