Fix type error in das simple op
This commit is contained in:
@ -220,7 +220,7 @@ int ObDASRangesCostOp::fill_task_result(ObIDASTaskResult &task_result, bool &has
|
|||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
UNUSED(memory_limit);
|
UNUSED(memory_limit);
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
CK(typeid(task_result) == typeid(ObDASSplitRangesResult));
|
CK(typeid(task_result) == typeid(ObDASRangesCostResult));
|
||||||
#endif
|
#endif
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
ObDASRangesCostResult &result = static_cast<ObDASRangesCostResult&>(task_result);
|
ObDASRangesCostResult &result = static_cast<ObDASRangesCostResult&>(task_result);
|
||||||
@ -234,7 +234,7 @@ int ObDASRangesCostOp::decode_task_result(ObIDASTaskResult *task_result)
|
|||||||
{
|
{
|
||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
CK(typeid(*task_result) == typeid(ObDASSplitRangesResult));
|
CK(typeid(*task_result) == typeid(ObDASRangesCostResult));
|
||||||
CK(task_id_ == task_result->get_task_id());
|
CK(task_id_ == task_result->get_task_id());
|
||||||
#endif
|
#endif
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
|
|||||||
@ -147,4 +147,4 @@ public:
|
|||||||
|
|
||||||
} // namespace sql
|
} // namespace sql
|
||||||
} // namespace oceanbase
|
} // namespace oceanbase
|
||||||
#endif /* OBDEV_SRC_SQL_DAS_OB_DAS_DELETE_OP_H_ */
|
#endif /* OBDEV_SRC_SQL_DAS_OB_DAS_SIMPLE_OP_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user