avoid invalid read/write
This commit is contained in:
parent
3f5884a510
commit
471b581cea
|
@ -2937,8 +2937,7 @@ static int32_t sysFilte__DbName(void* arg, SNode* pNode, SArray* result) {
|
||||||
varDataSetLen(dbname, strlen(varDataVal(dbname)));
|
varDataSetLen(dbname, strlen(varDataVal(dbname)));
|
||||||
|
|
||||||
SOperatorNode* pOper = (SOperatorNode*)pNode;
|
SOperatorNode* pOper = (SOperatorNode*)pNode;
|
||||||
|
SValueNode* pVal = (SValueNode*)pOper->pRight;
|
||||||
SValueNode* pVal = (SValueNode*)pOper->pRight;
|
|
||||||
|
|
||||||
bool reverse = false;
|
bool reverse = false;
|
||||||
__optSysFilter func = optSysGetFilterFunc(pOper->opType, &reverse);
|
__optSysFilter func = optSysGetFilterFunc(pOper->opType, &reverse);
|
||||||
|
|
Loading…
Reference in New Issue