enhance: change variable name

This commit is contained in:
slzhou 2023-05-06 17:16:27 +08:00
parent 276e5daa8c
commit 04e9648d8e
1 changed files with 3 additions and 3 deletions

View File

@ -6141,9 +6141,9 @@ static EDealRes hasVariable(SNode* pNode, void* pContext) {
}
static int32_t subtableExprHasVariable(SNode* pNode) {
bool hasCol = false;
nodesWalkExprPostOrder(pNode, hasVariable, &hasCol);
return hasCol;
bool hasVar = false;
nodesWalkExprPostOrder(pNode, hasVariable, &hasVar);
return hasVar;
}
static int32_t checkStreamQuery(STranslateContext* pCxt, SCreateStreamStmt* pStmt) {