[TD-5055]<fix> handle incorret result
This commit is contained in:
parent
2e4f9508ce
commit
236f50ea02
|
@ -8262,7 +8262,9 @@ static int32_t doValidateSubquery(SSqlNode* pSqlNode, int32_t index, SSqlObj* pS
|
||||||
|
|
||||||
// union all is not support currently
|
// union all is not support currently
|
||||||
SSqlNode* p = taosArrayGetP(subInfo->pSubquery, 0);
|
SSqlNode* p = taosArrayGetP(subInfo->pSubquery, 0);
|
||||||
|
if (taosArrayGetSize(subInfo->pSubquery) >= 2) {
|
||||||
|
return invalidOperationMsg(msgBuf, "not support union in subquery");
|
||||||
|
}
|
||||||
SQueryInfo* pSub = calloc(1, sizeof(SQueryInfo));
|
SQueryInfo* pSub = calloc(1, sizeof(SQueryInfo));
|
||||||
tscInitQueryInfo(pSub);
|
tscInitQueryInfo(pSub);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue