avoid invalid read/write

This commit is contained in:
yihaoDeng 2022-10-22 22:13:21 +08:00
parent 3f5884a510
commit 471b581cea
1 changed files with 1 additions and 2 deletions

View File

@ -2937,8 +2937,7 @@ static int32_t sysFilte__DbName(void* arg, SNode* pNode, SArray* result) {
varDataSetLen(dbname, strlen(varDataVal(dbname)));
SOperatorNode* pOper = (SOperatorNode*)pNode;
SValueNode* pVal = (SValueNode*)pOper->pRight;
SValueNode* pVal = (SValueNode*)pOper->pRight;
bool reverse = false;
__optSysFilter func = optSysGetFilterFunc(pOper->opType, &reverse);