fix issue

This commit is contained in:
54liuyao 2024-11-20 19:33:46 +08:00
parent 53ae014354
commit 5ace9b1d90
1 changed files with 4 additions and 1 deletions

View File

@ -445,7 +445,10 @@ int32_t updateInfoSerialize(SEncoder* pEncoder, const SUpdateInfo* pInfo) {
int32_t code = TSDB_CODE_SUCCESS; int32_t code = TSDB_CODE_SUCCESS;
int32_t lino = 0; int32_t lino = 0;
if (!pInfo) { if (!pInfo) {
tEncodeI32(pEncoder, -1); if (tEncodeI32(pEncoder, -1) < 0) {
code = TSDB_CODE_FAILED;
QUERY_CHECK_CODE(code, lino, _end);
}
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
} }