Merge branch 'enh/TS-5111-3.0' of https://github.com/taosdata/TDengine into enh/TS-5111-3.0
This commit is contained in:
commit
58985a122e
|
@ -14614,9 +14614,7 @@ static int32_t rewriteDropTable(STranslateContext* pCxt, SQuery* pQuery) {
|
|||
taosHashCleanup(pVgroupHashmap);
|
||||
return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_DROP_STABLE);
|
||||
}
|
||||
if (pCxt->withOpt) {
|
||||
return rewriteToVnodeModifyOpStmt(pQuery, NULL);
|
||||
}
|
||||
if (pCxt->withOpt) continue;
|
||||
if (pCxt->pMetaCache) code = getTableTsmasFromCache(pCxt->pMetaCache, &name, &pTsmas);
|
||||
if (TSDB_CODE_SUCCESS != code) {
|
||||
taosHashCleanup(pVgroupHashmap);
|
||||
|
|
Loading…
Reference in New Issue