fix: valgrind error
This commit is contained in:
parent
e5728dbb43
commit
eddad1e790
|
@ -309,6 +309,14 @@ int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pb) {
|
||||||
|
if (flag == (HAS_VALUE | HAS_NULL | HAS_NONE)) {
|
||||||
|
memset(pb, 0, BIT2_SIZE(pTSchema->numOfCols - 1));
|
||||||
|
} else {
|
||||||
|
memset(pb, 0, BIT1_SIZE(pTSchema->numOfCols - 1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// build impl
|
// build impl
|
||||||
while (pTColumn) {
|
while (pTColumn) {
|
||||||
if (pColVal) {
|
if (pColVal) {
|
||||||
|
|
Loading…
Reference in New Issue