From 93b52b4b4bf1622b5e5f97e919247a897ef2a130 Mon Sep 17 00:00:00 2001 From: hjxilinx Date: Tue, 17 Dec 2019 13:54:35 +0800 Subject: [PATCH] refactor codes. --- src/system/detail/src/vnodeShell.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/system/detail/src/vnodeShell.c b/src/system/detail/src/vnodeShell.c index 030bd0cdf4..662c26c5ad 100644 --- a/src/system/detail/src/vnodeShell.c +++ b/src/system/detail/src/vnodeShell.c @@ -336,15 +336,6 @@ int vnodeProcessQueryRequest(char *pMsg, int msgLen, SShellObj *pObj) { code = TSDB_CODE_INVALID_TABLE_ID; goto _query_over; } - - SMeterObj* pMeterObj = pVnode->meterList[pSids[i]->sid]; - if (pMeterObj->uid != pSids[i]->uid || pMeterObj->sid != pSids[i]->sid) { // uid/sid not match, error in query msg - dError("qmsg:%p sid/uid mismatch, vid:%d sid:%d id:%s uid:%" ", in msg sid:%d, uid:%lld", pQueryMsg, - pQueryMsg->vnode, pMeterObj->sid, pMeterObj->meterId, pMeterObj->uid, pSids[i]->sid, pSids[i]->uid); - - code = TSDB_CODE_TABLE_ID_MISMATCH; - goto _query_over; - } } // todo optimize for single table query process -- GitLab