From a64ac592b6908859e3f82a70de18fd7f960df31c Mon Sep 17 00:00:00 2001 From: pe-99y <315053752@qq.com> Date: Thu, 18 Apr 2024 13:57:33 +0000 Subject: [PATCH] Fix type error in das simple op --- src/sql/das/ob_das_simple_op.cpp | 4 ++-- src/sql/das/ob_das_simple_op.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sql/das/ob_das_simple_op.cpp b/src/sql/das/ob_das_simple_op.cpp index 5c6a5e7735..957242da08 100644 --- a/src/sql/das/ob_das_simple_op.cpp +++ b/src/sql/das/ob_das_simple_op.cpp @@ -220,7 +220,7 @@ int ObDASRangesCostOp::fill_task_result(ObIDASTaskResult &task_result, bool &has int ret = OB_SUCCESS; UNUSED(memory_limit); #if !defined(NDEBUG) - CK(typeid(task_result) == typeid(ObDASSplitRangesResult)); + CK(typeid(task_result) == typeid(ObDASRangesCostResult)); #endif if (OB_SUCC(ret)) { ObDASRangesCostResult &result = static_cast(task_result); @@ -234,7 +234,7 @@ int ObDASRangesCostOp::decode_task_result(ObIDASTaskResult *task_result) { int ret = OB_SUCCESS; #if !defined(NDEBUG) - CK(typeid(*task_result) == typeid(ObDASSplitRangesResult)); + CK(typeid(*task_result) == typeid(ObDASRangesCostResult)); CK(task_id_ == task_result->get_task_id()); #endif if (OB_SUCC(ret)) { diff --git a/src/sql/das/ob_das_simple_op.h b/src/sql/das/ob_das_simple_op.h index 95e5727b3a..87b4eabcee 100644 --- a/src/sql/das/ob_das_simple_op.h +++ b/src/sql/das/ob_das_simple_op.h @@ -147,4 +147,4 @@ public: } // namespace sql } // namespace oceanbase -#endif /* OBDEV_SRC_SQL_DAS_OB_DAS_DELETE_OP_H_ */ +#endif /* OBDEV_SRC_SQL_DAS_OB_DAS_SIMPLE_OP_H */