提交 509845f5 编写于 作者: wmmhello's avatar wmmhello

fix ci error

上级 5cbf9cbb
...@@ -6436,7 +6436,7 @@ int32_t setAlterTableInfo(SSqlObj* pSql, struct SSqlInfo* pInfo) { ...@@ -6436,7 +6436,7 @@ int32_t setAlterTableInfo(SSqlObj* pSql, struct SSqlInfo* pInfo) {
const char* msg10 = "invalid tag name"; const char* msg10 = "invalid tag name";
const char* msg11 = "primary tag cannot be dropped"; const char* msg11 = "primary tag cannot be dropped";
const char* msg12 = "update normal column not supported"; const char* msg12 = "update normal column not supported";
//const char* msg13 = "invalid tag value"; const char* msg13 = "invalid tag value";
const char* msg14 = "tag value too long"; const char* msg14 = "tag value too long";
const char* msg15 = "no columns can be dropped"; const char* msg15 = "no columns can be dropped";
...@@ -6685,7 +6685,10 @@ int32_t setAlterTableInfo(SSqlObj* pSql, struct SSqlInfo* pInfo) { ...@@ -6685,7 +6685,10 @@ int32_t setAlterTableInfo(SSqlObj* pSql, struct SSqlInfo* pInfo) {
free(row); free(row);
}else{ }else{
// copy the tag value to pMsg body // copy the tag value to pMsg body
tVariantDump(&pItem->pVar, pUpdateMsg->data + schemaLen, pTagsSchema->type, true); if (tVariantDump(&pItem->pVar, pUpdateMsg->data + schemaLen, pTagsSchema->type, true)
!= TSDB_CODE_SUCCESS){
return invalidOperationMsg(pMsg, msg13);
}
} }
int32_t len = 0; int32_t len = 0;
......
...@@ -3,9 +3,10 @@ PROJECT(TDengine) ...@@ -3,9 +3,10 @@ PROJECT(TDengine)
INCLUDE_DIRECTORIES(inc) INCLUDE_DIRECTORIES(inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc) INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
AUX_SOURCE_DIRECTORY(src SRC) AUX_SOURCE_DIRECTORY(src SRC)
ADD_LIBRARY(tsdb ${SRC}) ADD_LIBRARY(tsdb ${SRC})
TARGET_LINK_LIBRARIES(tsdb tfs common tutil) TARGET_LINK_LIBRARIES(tsdb tfs common tutil cJson)
IF (TD_TSDB_PLUGINS) IF (TD_TSDB_PLUGINS)
TARGET_LINK_LIBRARIES(tsdb tsdbPlugins) TARGET_LINK_LIBRARIES(tsdb tsdbPlugins)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册