未验证 提交 693bac60 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #21430 from taosdata/fix/TD-24349

fix: last(tbname) out of memory issue
......@@ -2233,7 +2233,7 @@ static bool lastRowScanOptMayBeOptimized(SLogicNode* pNode) {
SNode* pPar = nodesListGetNode(pAggFunc->pParameterList, 0);
if (QUERY_NODE_COLUMN == nodeType(pPar)) {
SColumnNode* pCol = (SColumnNode*)pPar;
if (pCol->colType == COLUMN_TYPE_TAG) {
if (pCol->colType != COLUMN_TYPE_COLUMN) {
return false;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册