From 3a639af0a6539cb4ca2c1b7e8632bccec09016a5 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sun, 10 Apr 2022 16:41:41 +0800 Subject: [PATCH] [TS-238](tsdb): pr build error fixed --- src/tsdb/inc/tsdbMeta.h | 2 +- src/tsdb/src/tsdbMemTable.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tsdb/inc/tsdbMeta.h b/src/tsdb/inc/tsdbMeta.h index 169e09acab..9cdb8a83aa 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 b3b43fd5cf..f5b92b018d 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 { -- GitLab