fix conflict

This commit is contained in:
Liu Jicong 2023-01-03 18:17:40 +08:00
parent 9eaf8b561f
commit f26032e279
1 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ int32_t smaBlockToSubmit(SVnode *pVnode, const SArray *pBlocks, const STSchema *
goto _end; goto _end;
} }
for (int32_t j = 0; j < rows; j++) { for (int32_t j = 0; j < rows; ++j) {
taosArrayClear(pVals); taosArrayClear(pVals);
for (int32_t k = 0; k < pTSchema->numOfCols; k++) { for (int32_t k = 0; k < pTSchema->numOfCols; k++) {
const STColumn *pCol = &pTSchema->columns[k]; const STColumn *pCol = &pTSchema->columns[k];
@ -326,7 +326,7 @@ int32_t smaBlockToSubmit(SVnode *pVnode, const SArray *pBlocks, const STSchema *
if (NULL == pBuf) { if (NULL == pBuf) {
goto _end; goto _end;
} }
((SMsgHead *)pBuf)->vgId = htonl(TD_VID(pVnode)); ((SMsgHead *)pBuf)->vgId = TD_VID(pVnode);
((SMsgHead *)pBuf)->contLen = htonl(len); ((SMsgHead *)pBuf)->contLen = htonl(len);
tEncoderInit(&encoder, POINTER_SHIFT(pBuf, sizeof(SMsgHead)), len - sizeof(SMsgHead)); tEncoderInit(&encoder, POINTER_SHIFT(pBuf, sizeof(SMsgHead)), len - sizeof(SMsgHead));
if (tEncodeSSubmitReq2(&encoder, pReq) < 0) { if (tEncodeSSubmitReq2(&encoder, pReq) < 0) {