fake empty hash mark
This commit is contained in:
parent
db725c6f6d
commit
7342bde45d
|
@ -685,7 +685,7 @@ static int32_t mndTablePriviledge(SMnode *pMnode, SHashObj *hash, SAlterUserReq
|
||||||
snprintf(tbFName, sizeof(tbFName), "%s.%s", alterReq->objname, alterReq->tabName);
|
snprintf(tbFName, sizeof(tbFName), "%s.%s", alterReq->objname, alterReq->tabName);
|
||||||
int32_t len = strlen(tbFName) + 1;
|
int32_t len = strlen(tbFName) + 1;
|
||||||
|
|
||||||
if (taosHashPut(hash, tbFName, len, tbFName, len) != 0) {
|
if (taosHashPut(hash, tbFName, len, "t", 2) != 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@ static void mndLoopHash(SHashObj * hash, char *priType, SSDataBlock *pBlock, int
|
||||||
pColInfo = taosArrayGet(pBlock->pDataBlock, cols++);
|
pColInfo = taosArrayGet(pBlock->pDataBlock, cols++);
|
||||||
colDataSetVal(pColInfo, *numOfRows, (const char *)tableNameContent, false);
|
colDataSetVal(pColInfo, *numOfRows, (const char *)tableNameContent, false);
|
||||||
|
|
||||||
if(strcmp(key, value)!= 0){
|
if(strcmp("t", value) != 0){
|
||||||
SNode *pAst = NULL;
|
SNode *pAst = NULL;
|
||||||
int32_t sqlLen = 0;
|
int32_t sqlLen = 0;
|
||||||
char sql[TSDB_EXPLAIN_RESULT_ROW_SIZE] = {0};
|
char sql[TSDB_EXPLAIN_RESULT_ROW_SIZE] = {0};
|
||||||
|
|
Loading…
Reference in New Issue