fix(query): clear the length before append var data.
This commit is contained in:
parent
1a97a659bc
commit
e07c30be1c
|
@ -871,6 +871,8 @@ void extractQualifiedTupleByFilterResult(SSDataBlock* pBlock, const SColumnInfoD
|
||||||
|
|
||||||
if (IS_VAR_DATA_TYPE(pDst->info.type)) {
|
if (IS_VAR_DATA_TYPE(pDst->info.type)) {
|
||||||
int32_t j = 0;
|
int32_t j = 0;
|
||||||
|
pDst->varmeta.length = 0;
|
||||||
|
|
||||||
while(j < totalRows) {
|
while(j < totalRows) {
|
||||||
if (pIndicator[j] == 0) {
|
if (pIndicator[j] == 0) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue