test
This commit is contained in:
parent
0d86361a94
commit
5a75c38897
|
@ -3168,11 +3168,7 @@ static bool IsEqualTbNameFuncNode(SSelectStmt* pSelect, SNode* pFunc1, SNode* pF
|
|||
if (pSelect->pFromTable &&
|
||||
(pSelect->pFromTable->type == QUERY_NODE_REAL_TABLE || pSelect->pFromTable->type == QUERY_NODE_TEMP_TABLE)) {
|
||||
STableNode* pTable = (STableNode*)pSelect->pFromTable;
|
||||
if (pVal1) {
|
||||
return strcmp(pTable->tableAlias, pVal1->literal) == 0;
|
||||
} else if (!pVal1) {
|
||||
return strcmp(pTable->tableAlias, pVal2->literal) == 0;
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue