diff --git a/include/common/tglobal.h b/include/common/tglobal.h index ba41cb02927752b444e5428556a7c9ec9a1ffcc7..342d78382ab4ac680eca259739c3061b15b94a22 100644 --- a/include/common/tglobal.h +++ b/include/common/tglobal.h @@ -84,7 +84,6 @@ extern int64_t tsMaxRetentWindow; extern char version[]; extern char compatible_version[]; extern char gitinfo[]; -extern char gitinfoOfInternal[]; extern char buildinfo[]; // lossy diff --git a/include/util/version.h b/include/util/version.h index b241dd248b9a673591bbc94e1a71a78ad721919e..bac29e5baf6f7a754aa6d1b0bcfd2a06b841b0da 100644 --- a/include/util/version.h +++ b/include/util/version.h @@ -23,7 +23,6 @@ extern "C" { extern char version[]; extern char compatible_version[]; extern char gitinfo[]; -extern char gitinfoOfInternal[]; extern char buildinfo[]; #ifdef __cplusplus diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 9c934cbc55289165b69a24bf06ca7207f5bfb1cb..9a0309e0245a517b452c25a6fff028755f8f7aa9 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -314,7 +314,6 @@ static int32_t taosAddSystemCfg(SConfig *pCfg) { if (cfgAddString(pCfg, "version", version, 1) != 0) return -1; if (cfgAddString(pCfg, "compatible_version", compatible_version, 1) != 0) return -1; if (cfgAddString(pCfg, "gitinfo", gitinfo, 1) != 0) return -1; - if (cfgAddString(pCfg, "gitinfoOfInternal", gitinfoOfInternal, 1) != 0) return -1; if (cfgAddString(pCfg, "buildinfo", buildinfo, 1) != 0) return -1; return 0; } diff --git a/source/dnode/mgmt/daemon/src/dmnUtil.c b/source/dnode/mgmt/daemon/src/dmnUtil.c index 608bc7f3e6d0167d28cfa373983b3ceaed4041d1..d58a5968c0726ae99fd23bb5116bfa3269da1dd7 100644 --- a/source/dnode/mgmt/daemon/src/dmnUtil.c +++ b/source/dnode/mgmt/daemon/src/dmnUtil.c @@ -30,6 +30,5 @@ void dmnPrintVersion() { #endif printf("%s version: %s compatible_version: %s\n", releaseName, version, compatible_version); printf("gitinfo: %s\n", gitinfo); - printf("gitinfoI: %s\n", gitinfoOfInternal); printf("builuInfo: %s\n", buildinfo); } diff --git a/source/util/src/version.c.in b/source/util/src/version.c.in index 21c78a0eb4cad28ea1cdffcd58dc795ebd1000e5..be1a4a404875739cdef349a901e52e195c2a9cde 100644 --- a/source/util/src/version.c.in +++ b/source/util/src/version.c.in @@ -1,7 +1,6 @@ char version[12] = "${TD_VER_NUMBER}"; char compatible_version[12] = "${TD_VER_COMPATIBLE}"; char gitinfo[48] = "${TD_VER_GIT}"; -char gitinfoOfInternal[48] = "${TD_VER_GIT_INTERNAL}"; char buildinfo[64] = "Built at ${TD_VER_DATE}"; void libtaos_${TD_LIB_VER_NUMBER}_${TD_VER_OSTYPE}_${TD_VER_CPUTYPE}_${TD_VER_VERTYPE}() {};