fix(query): clear the length before append var data.

This commit is contained in:
Haojun Liao 2023-01-04 00:49:38 +08:00
parent 1a97a659bc
commit e07c30be1c
1 changed files with 2 additions and 0 deletions

View File

@ -871,6 +871,8 @@ void extractQualifiedTupleByFilterResult(SSDataBlock* pBlock, const SColumnInfoD
if (IS_VAR_DATA_TYPE(pDst->info.type)) {
int32_t j = 0;
pDst->varmeta.length = 0;
while(j < totalRows) {
if (pIndicator[j] == 0) {
continue;