Update parTranslater.c
This commit is contained in:
parent
38e8d9f2fa
commit
2bb2c17517
|
@ -6015,7 +6015,9 @@ static int32_t isOperatorEqTbnameCond(STranslateContext* pCxt, SOperatorNode* pO
|
||||||
}
|
}
|
||||||
SArray* pTabNames = NULL;
|
SArray* pTabNames = NULL;
|
||||||
pTabNames = taosArrayInit(1, sizeof(void*));
|
pTabNames = taosArrayInit(1, sizeof(void*));
|
||||||
if (!pTabNames) return TSDB_CODE_OUT_OF_MEMORY;
|
if (!pTabNames) {
|
||||||
|
return terrno;
|
||||||
|
}
|
||||||
if (NULL == taosArrayPush(pTabNames, &(pValueNode->literal))) {
|
if (NULL == taosArrayPush(pTabNames, &(pValueNode->literal))) {
|
||||||
taosArrayDestroy(pTabNames);
|
taosArrayDestroy(pTabNames);
|
||||||
return terrno;
|
return terrno;
|
||||||
|
|
Loading…
Reference in New Issue