diff --git a/src/tsdb/inc/tsdbMeta.h b/src/tsdb/inc/tsdbMeta.h index 169e09acabdce8d0fb1ae3e5b03955d0a8517436..9cdb8a83aa266d04d91e07d515f0acb56703f880 100644 --- a/src/tsdb/inc/tsdbMeta.h +++ b/src/tsdb/inc/tsdbMeta.h @@ -51,7 +51,7 @@ typedef struct STable { bool hasRestoreLastColumn; int lastColSVersion; int16_t cacheLastConfigVersion; - T_REF_DECLARE() // int32_t + T_REF_DECLARE() } STable; typedef struct { diff --git a/src/tsdb/src/tsdbMemTable.c b/src/tsdb/src/tsdbMemTable.c index b3b43fd5cfb284815718236650f7a1cede00a5a0..f5b92b018dabcabb228073eb7269c0ac81f44d6a 100644 --- a/src/tsdb/src/tsdbMemTable.c +++ b/src/tsdb/src/tsdbMemTable.c @@ -1164,13 +1164,13 @@ int32_t tsdbInsertControlData(STsdbRepo* pRepo, SSubmitBlk* pBlock, SShellSubmit // super table ret = tsdbQuerySTableByTagCond(pRepo, pBlock->uid, pCtlData->win.skey, pCtlData->tagCond, pCtlData->tagCondLen, &tableGroupInfo, NULL, 0); if (ret != TSDB_CODE_SUCCESS) { - tsdbError(":SDEL vgId:%d failed to get child tables id from stable with tag condition. uid=%ld", REPO_ID(pRepo), pBlock->uid); + tsdbError(":SDEL vgId:%d failed to get child tables id from stable with tag condition. uid=%" PRIu64, REPO_ID(pRepo), pBlock->uid); return ret; } tnum = tsdbTableGroupInfo(&tableGroupInfo, NULL); if (tnum == 0) { - tsdbWarn(":SDEL vgId:%d super table no child tables after filter by tag. uid=%ld", REPO_ID(pRepo), pBlock->uid); + tsdbWarn(":SDEL vgId:%d super table no child tables after filter by tag. uid=%" PRIu64, REPO_ID(pRepo), pBlock->uid); return TSDB_CODE_SUCCESS; } } else {