fix: pre-allocated columns has no data
This commit is contained in:
parent
08c2891d50
commit
6849ccd280
|
@ -399,10 +399,12 @@ static void mergeJoinJoinLeftRight(struct SOperatorInfo* pOperator, SSDataBlock*
|
||||||
colDataSetNULL(pDst, currRow);
|
colDataSetNULL(pDst, currRow);
|
||||||
} else {
|
} else {
|
||||||
char* p = colDataGetData(pSrc, rowIndex);
|
char* p = colDataGetData(pSrc, rowIndex);
|
||||||
|
if (p != NULL) {
|
||||||
colDataSetVal(pDst, currRow, p, false);
|
colDataSetVal(pDst, currRow, p, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
typedef struct SRowLocation {
|
typedef struct SRowLocation {
|
||||||
SSDataBlock* pDataBlock;
|
SSDataBlock* pDataBlock;
|
||||||
int32_t pos;
|
int32_t pos;
|
||||||
|
|
Loading…
Reference in New Issue