fix: fix minior error

This commit is contained in:
slzhou 2023-10-18 13:19:44 +08:00
parent 98d782cfa5
commit 9c1697bfd1
1 changed files with 2 additions and 0 deletions

View File

@ -3320,6 +3320,8 @@ static int32_t checkProjectAlias(STranslateContext* pCxt, SNodeList* pProjection
static int32_t translateProjectionList(STranslateContext* pCxt, SSelectStmt* pSelect) {
if (!pSelect->isSubquery) {
return rewriteProjectAlias(pSelect->pProjectionList);
} else {
return TSDB_CODE_SUCCESS;
}
}