little fix

This commit is contained in:
Hongze Cheng 2023-03-08 15:19:55 +08:00
parent a56c99daac
commit 05688386a0
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ static int32_t vnodePreProcessSubmitMsg(SVnode *pVnode, SRpcMsg *pMsg) {
SDecoder *pCoder = &(SDecoder){0};
if (((SSubmitReq2Msg *)pMsg->pCont)->version != 1) {
if (taosHton64(((SSubmitReq2Msg *)pMsg->pCont)->version) != 1) {
code = TSDB_CODE_INVALID_MSG;
TSDB_CHECK_CODE(code, lino, _exit);
}