[td-225]fix bug by regression test.

This commit is contained in:
Haojun Liao 2021-06-22 23:47:35 +08:00
parent 837c44ebfb
commit d76117d830
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}