From 3091f111b7f1348841163081a7f3c922b6014a6f Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Wed, 6 Jul 2022 09:13:24 +0800 Subject: [PATCH] other: use tp row --- source/common/src/trow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/common/src/trow.c b/source/common/src/trow.c index b38f29e72e..590d97f536 100644 --- a/source/common/src/trow.c +++ b/source/common/src/trow.c @@ -1687,6 +1687,7 @@ int32_t tdAppendColValToTpRow(SRowBuilder *pBuilder, TDRowValT valType, const vo int32_t tdSRowSetExtendedInfo(SRowBuilder *pBuilder, int32_t nCols, int32_t nBoundCols, int32_t flen, int32_t allNullLen, int32_t boundNullLen) { +#if 0 if ((boundNullLen > 0) && (allNullLen > 0) && (nBoundCols > 0)) { uint32_t tpLen = allNullLen; uint32_t kvLen = sizeof(col_id_t) + sizeof(SKvRowIdx) * nBoundCols + boundNullLen; @@ -1699,7 +1700,8 @@ int32_t tdSRowSetExtendedInfo(SRowBuilder *pBuilder, int32_t nCols, int32_t nBou } else { pBuilder->rowType = TD_ROW_TP; } - +#endif + pBuilder->rowType = TD_ROW_TP; pBuilder->flen = flen; pBuilder->nCols = nCols; pBuilder->nBoundCols = nBoundCols;