提交 6fa146f5 编写于 作者: A Alex Duan

<feat>(mnode): add limit user for query1

上级 51ab64d9
...@@ -100,8 +100,8 @@ static int32_t mnodeUserActionDecode(SSdbRow *pRow) { ...@@ -100,8 +100,8 @@ static int32_t mnodeUserActionDecode(SSdbRow *pRow) {
// check old format // check old format
if(tsUserUpdateSizeOld == 0) { if(tsUserUpdateSizeOld == 0) {
//int32_t nUpdateSizeOld = (int32_t)((int8_t *)old.updateEnd - (int8_t *)&old); SUserObjOld old;
tsUserUpdateSizeOld = (int32_t)((SUserObjOld*)0)->updateEnd; tsUserUpdateSizeOld = (int32_t)((int8_t *)old.updateEnd - (int8_t *)&old);
} }
if (pRow->rowSize == tsUserUpdateSizeOld) { if (pRow->rowSize == tsUserUpdateSizeOld) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册