From dc883e95cedfe7e57dfad32add0ad8acc9cd5dd5 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 16 Dec 2024 17:35:04 +0800 Subject: [PATCH] fix: ci problem --- source/dnode/vnode/src/meta/metaEntry2.c | 3 +-- source/dnode/vnode/src/meta/metaTable2.c | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/source/dnode/vnode/src/meta/metaEntry2.c b/source/dnode/vnode/src/meta/metaEntry2.c index 0600e42708..fc60a63ced 100644 --- a/source/dnode/vnode/src/meta/metaEntry2.c +++ b/source/dnode/vnode/src/meta/metaEntry2.c @@ -333,8 +333,7 @@ static int32_t metaAddOrDropTagIndexOfSuperTable(SMeta *pMeta, const SMetaHandle return code; } - code = tdbTbInsert(pMeta->pTagIdx, pTagIdxKey, tagIdxKeySize, &pChildEntry->uid, sizeof(pChildEntry->uid), - pMeta->txn); + code = tdbTbInsert(pMeta->pTagIdx, pTagIdxKey, tagIdxKeySize, NULL, 0, pMeta->txn); if (code) { metaErr(TD_VID(pMeta->pVnode), code); taosArrayDestroy(childTables); diff --git a/source/dnode/vnode/src/meta/metaTable2.c b/source/dnode/vnode/src/meta/metaTable2.c index af902809d6..6ff4cd6fdc 100644 --- a/source/dnode/vnode/src/meta/metaTable2.c +++ b/source/dnode/vnode/src/meta/metaTable2.c @@ -1686,14 +1686,6 @@ int32_t metaDropIndexFromSuperTable(SMeta *pMeta, int64_t version, SDropIndexReq TAOS_RETURN(TSDB_CODE_VND_INVALID_TABLE_ACTION); } - if (pReq->stbUid != pEntry->uid) { - metaError("vgId:%d, %s failed at %s:%d since table %s uid %" PRId64 " is not equal to %" PRId64 - ", version:%" PRId64, - TD_VID(pMeta->pVnode), __func__, __FILE__, __LINE__, pReq->stb, pEntry->uid, pReq->stbUid, version); - metaFetchEntryFree(&pEntry); - TAOS_RETURN(TSDB_CODE_INVALID_MSG); - } - SSchemaWrapper *pTagSchema = &pEntry->stbEntry.schemaTag; if (pTagSchema->nCols == 1 && pTagSchema->pSchema[0].type == TSDB_DATA_TYPE_JSON) { metaError("vgId:%d, %s failed at %s:%d since table %s has no tag, version:%" PRId64, TD_VID(pMeta->pVnode),