提交 12224101 编写于 作者: S Shengliang Guan

change D_TD_COMMUNITY_VERSION to _STORAGE

上级 3ac7f05f
...@@ -37,8 +37,6 @@ IF (TD_WINDOWS OR TD_DARWIN) ...@@ -37,8 +37,6 @@ IF (TD_WINDOWS OR TD_DARWIN)
SET(TD_SOMODE_STATIC TRUE) SET(TD_SOMODE_STATIC TRUE)
ENDIF () ENDIF ()
ADD_DEFINITIONS(-D_TD_COMMUNITY_VERSION)
INCLUDE(cmake/define.inc) INCLUDE(cmake/define.inc)
INCLUDE(cmake/env.inc) INCLUDE(cmake/env.inc)
INCLUDE(cmake/version.inc) INCLUDE(cmake/version.inc)
......
...@@ -1062,7 +1062,7 @@ static SDbCfg mnodeGetAlterDbOption(SDbObj *pDb, SAlterDbMsg *pAlter) { ...@@ -1062,7 +1062,7 @@ static SDbCfg mnodeGetAlterDbOption(SDbObj *pDb, SAlterDbMsg *pAlter) {
// community version can only change daysToKeep // community version can only change daysToKeep
// but enterprise version can change all daysToKeep options // but enterprise version can change all daysToKeep options
#if defined(_TD_COMMUNITY_VERSION) && !defined(_TD_ENTERPRISE_VERSION) #ifndef _STORAGE
newCfg.daysToKeep1 = newCfg.daysToKeep; newCfg.daysToKeep1 = newCfg.daysToKeep;
newCfg.daysToKeep2 = newCfg.daysToKeep; newCfg.daysToKeep2 = newCfg.daysToKeep;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册