[td-225]fix bug by regression test.
This commit is contained in:
parent
837c44ebfb
commit
d76117d830
|
@ -1306,7 +1306,7 @@ static void doHashGroupbyAgg(SOperatorInfo* pOperator, SGroupbyOperatorInfo *pIn
|
|||
}
|
||||
|
||||
if (IS_VAR_DATA_TYPE(type)) {
|
||||
if(varDataLen(val) == varDataLen(pInfo->prevData) && memcmp(pInfo->prevData, val, varDataLen(val)) == 0) {
|
||||
if(varDataLen(val) == varDataLen(pInfo->prevData) && memcmp(varDataVal(pInfo->prevData), varDataVal(val), varDataLen(val)) == 0) {
|
||||
num++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue