提交 2f0db574 编写于 作者: G Ganlin Zhao

fix windows compilation error

上级 52e198fc
...@@ -246,9 +246,9 @@ static int32_t buildDataPointSchemas(TAOS_SML_DATA_POINT* points, int numPoint, ...@@ -246,9 +246,9 @@ static int32_t buildDataPointSchemas(TAOS_SML_DATA_POINT* points, int numPoint,
buildSmlChildTableName(point, info); buildSmlChildTableName(point, info);
} }
char tagNullName[TSDB_COL_NAME_LEN] = {0}; char tagNullName[TSDB_COL_NAME_LEN] = {0};
int16_t nameLen = strlen(tsSmlTagNullName); size_t nameLen = strlen(tsSmlTagNullName);
strncpy(tagNullName, tsSmlTagNullName, nameLen); strncpy(tagNullName, tsSmlTagNullName, nameLen);
addEscapeCharToString(tagNullName, nameLen); addEscapeCharToString(tagNullName, (int32_t)nameLen);
size_t* pTagNullIdx = taosHashGet(pStableSchema->tagHash, tagNullName, nameLen + TS_ESCAPE_CHAR_SIZE); size_t* pTagNullIdx = taosHashGet(pStableSchema->tagHash, tagNullName, nameLen + TS_ESCAPE_CHAR_SIZE);
if (!pTagNullIdx) { if (!pTagNullIdx) {
SSchema tagNull = {0}; SSchema tagNull = {0};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册