fix: set scan tags when bi mode
This commit is contained in:
parent
4b6f927e6a
commit
e800c993dd
|
@ -1029,11 +1029,13 @@ SNode* createSelectStmt(SAstCreateContext* pCxt, bool isDistinct, SNodeList* pPr
|
|||
}
|
||||
|
||||
SNode* setSelectStmtTagMode(SAstCreateContext* pCxt, SNode* pStmt, bool bSelectTags) {
|
||||
if (pStmt && QUERY_NODE_SELECT_STMT == nodeType(pStmt)) {
|
||||
if (pCxt->pQueryCxt->biMode) {
|
||||
((SSelectStmt*)pStmt)->tagScan = true;
|
||||
} else if (pStmt && QUERY_NODE_SELECT_STMT == nodeType(pStmt)) {
|
||||
} else {
|
||||
((SSelectStmt*)pStmt)->tagScan = bSelectTags;
|
||||
}
|
||||
}
|
||||
return pStmt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue