fix
This commit is contained in:
parent
fc3df94127
commit
29cadc622b
|
@ -169,7 +169,7 @@ static int32_t calcConstSelectCondition(SCalcConstContext* pCxt, SSelectStmt* pS
|
||||||
static int32_t calcConstProject(SNode* pProject, SNode** pNew) {
|
static int32_t calcConstProject(SNode* pProject, SNode** pNew) {
|
||||||
SArray* pAssociation = NULL;
|
SArray* pAssociation = NULL;
|
||||||
if (NULL != ((SExprNode*)pProject)->pAssociation) {
|
if (NULL != ((SExprNode*)pProject)->pAssociation) {
|
||||||
pAssociation == taosArrayDup(((SExprNode*)pProject)->pAssociation);
|
pAssociation = taosArrayDup(((SExprNode*)pProject)->pAssociation);
|
||||||
if (NULL == pAssociation) {
|
if (NULL == pAssociation) {
|
||||||
return TSDB_CODE_OUT_OF_MEMORY;
|
return TSDB_CODE_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue