fix: parseOneStbRow break if token parse err

This commit is contained in:
Shungang Li 2024-06-27 14:12:23 +08:00
parent 85e4f09239
commit e61c5a4083
1 changed files with 2 additions and 0 deletions

View File

@ -12819,6 +12819,8 @@ static int32_t parseOneStbRow(SMsgBuf* pMsgBuf, SParseFileContext* pParFileCtx)
code = parseTbnameToken(pMsgBuf, pParFileCtx->ctbName.tname, &token, &bFoundTbName);
}
}
if (TSDB_CODE_SUCCESS != code) break;
}
if (TSDB_CODE_SUCCESS == code) { // may fail to handle json