chore: more code
This commit is contained in:
parent
179579f204
commit
aa4c1cb5eb
|
@ -3121,8 +3121,7 @@ static int32_t mndRetrieveStbCol(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pB
|
||||||
if (pShow->pIter == NULL) break;
|
if (pShow->pIter == NULL) break;
|
||||||
} else {
|
} else {
|
||||||
fetch = true;
|
fetch = true;
|
||||||
size_t keyLen = 0;
|
void *pKey = taosHashGetKey(pShow->pIter, NULL);
|
||||||
void *pKey = taosHashGetKey(pShow->pIter, &keyLen);
|
|
||||||
pStb = sdbAcquire(pSdb, SDB_STB, pKey);
|
pStb = sdbAcquire(pSdb, SDB_STB, pKey);
|
||||||
if (!pStb) continue;
|
if (!pStb) continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class TDTestCase:
|
||||||
def init(self, conn, logSql, replicaVar=1):
|
def init(self, conn, logSql, replicaVar=1):
|
||||||
self.replicaVar = int(replicaVar)
|
self.replicaVar = int(replicaVar)
|
||||||
tdLog.debug("start to execute %s" % __file__)
|
tdLog.debug("start to execute %s" % __file__)
|
||||||
tdSql.init(conn.cursor(), True)
|
tdSql.init(conn.cursor())
|
||||||
self.setsql = TDSetSql()
|
self.setsql = TDSetSql()
|
||||||
self.dbname = 'db'
|
self.dbname = 'db'
|
||||||
self.stbname = 'stb'
|
self.stbname = 'stb'
|
||||||
|
|
Loading…
Reference in New Issue