Add error codes for sql module, !! Please Read Task Description Carefully!!
This commit is contained in:
@ -888,7 +888,7 @@ int ObDynamicSampling::get_all_tablet_id_and_object_id(const ObDSTableParam &par
|
||||
} else if (OB_FAIL(ctx_->get_exec_ctx()->get_das_ctx().get_das_tablet_mapper(param.table_id_,
|
||||
tablet_mapper))) {
|
||||
LOG_WARN("fail to get das tablet mapper", K(ret));
|
||||
} else if (tablet_mapper.get_non_partition_tablet_id(tmp_tablet_ids, tmp_part_ids)) {
|
||||
} else if (OB_FAIL(tablet_mapper.get_non_partition_tablet_id(tmp_tablet_ids, tmp_part_ids))) {
|
||||
LOG_WARN("failed to get non partition tablet id", K(ret));
|
||||
} else if (OB_UNLIKELY(tmp_part_ids.count() != 1 || tmp_tablet_ids.count() != 1)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
|
||||
Reference in New Issue
Block a user