fix error while get meta
This commit is contained in:
parent
136a86f68a
commit
0183aa41ac
|
@ -430,7 +430,7 @@ static void mgmtProcessUseMsg(SQueuedMsg *pMsg) {
|
||||||
* check if we need to add mgmtProcessTableMetaMsg into tranQueue, which will be executed one-by-one.
|
* check if we need to add mgmtProcessTableMetaMsg into tranQueue, which will be executed one-by-one.
|
||||||
*/
|
*/
|
||||||
static bool mgmtCheckTableMetaMsgReadOnly(SQueuedMsg *pMsg) {
|
static bool mgmtCheckTableMetaMsgReadOnly(SQueuedMsg *pMsg) {
|
||||||
SCMTableInfoMsg *pInfo = (SCMTableInfoMsg *) pMsg;
|
SCMTableInfoMsg *pInfo = pMsg->pCont;
|
||||||
pMsg->pTable = mgmtGetTable(pInfo->tableId);
|
pMsg->pTable = mgmtGetTable(pInfo->tableId);
|
||||||
if (pMsg->pTable != NULL) return true;
|
if (pMsg->pTable != NULL) return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue