fix: clear decoder when reusing

This commit is contained in:
Minglei Jin 2022-07-11 14:44:28 +08:00
parent 22eb20bb67
commit e0297bbd07
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ int metaTbCursorNext(SMTbCursor *pTbCur) {
return -1;
}
tDecoderClear(&pTbCur->mr.coder);
metaGetTableEntryByVersion(&pTbCur->mr, *(int64_t *)pTbCur->pVal, *(tb_uid_t *)pTbCur->pKey);
if (pTbCur->mr.me.type == TSDB_SUPER_TABLE) {
continue;