Merge branch 'enh/TS-5111-3.0' of https://github.com/taosdata/TDengine into enh/TS-5111-3.0

This commit is contained in:
kailixu 2024-09-23 00:10:55 +08:00
commit 58985a122e
1 changed files with 1 additions and 3 deletions

View File

@ -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);