From 1e30ac9408631cadc098a627a3c43fa5f7b0c00e Mon Sep 17 00:00:00 2001 From: slzhou Date: Thu, 1 Feb 2024 10:30:07 +0800 Subject: [PATCH] fix: compilation error --- source/libs/planner/inc/planInt.h | 2 +- source/libs/planner/src/planLogicCreater.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/planner/inc/planInt.h b/source/libs/planner/inc/planInt.h index 6ca766a98d..34a8a4d70f 100644 --- a/source/libs/planner/inc/planInt.h +++ b/source/libs/planner/inc/planInt.h @@ -47,7 +47,7 @@ int32_t validateQueryPlan(SPlanContext* pCxt, SQueryPlan* pPlan); bool getBatchScanOptionFromHint(SNodeList* pList); bool getSortForGroupOptHint(SNodeList* pList); -bool getSeqBlocksSortHint(SNodeList* pList); +bool getSeqBlocksSortOptHint(SNodeList* pList); bool getOptHint(SNodeList* pList, EHintOption hint); SLogicNode* getLogicNodeRootNode(SLogicNode* pCurr); int32_t collectTableAliasFromNodes(SNode* pNode, SSHashObj** ppRes); diff --git a/source/libs/planner/src/planLogicCreater.c b/source/libs/planner/src/planLogicCreater.c index 6852c9c359..ed7b266198 100644 --- a/source/libs/planner/src/planLogicCreater.c +++ b/source/libs/planner/src/planLogicCreater.c @@ -501,7 +501,7 @@ static int32_t createScanLogicNode(SLogicPlanContext* pCxt, SSelectStmt* pSelect } else { nodesDestroyNode((SNode*)pScan); } - pScan->seqBlocksSort = getSeqBlocksSortHint(pSelect->pHint); + pScan->seqBlocksSort = getSeqBlocksSortOptHint(pSelect->pHint); pCxt->hasScan = true; return code;