handle excep
This commit is contained in:
parent
46355de7f9
commit
ed481a1f29
|
@ -2404,7 +2404,7 @@ void* tDecodeDataBlock(const void* buf, SSDataBlock* pBlock) {
|
|||
}
|
||||
if(buf == NULL) {
|
||||
uError("failed to decode null bitmap/offset, type:%d", data.info.type);
|
||||
return NULL;
|
||||
goto _error;
|
||||
}
|
||||
|
||||
int32_t len = 0;
|
||||
|
@ -2412,7 +2412,7 @@ void* tDecodeDataBlock(const void* buf, SSDataBlock* pBlock) {
|
|||
buf = taosDecodeBinary(buf, (void**)&data.pData, len);
|
||||
if (buf == NULL) {
|
||||
uError("failed to decode data, type:%d", data.info.type);
|
||||
return NULL;
|
||||
goto _error;
|
||||
}
|
||||
if (IS_VAR_DATA_TYPE(data.info.type)) {
|
||||
data.varmeta.length = len;
|
||||
|
|
Loading…
Reference in New Issue