提交 0a0699e4 编写于 作者: D dapan1121

feature/scheduler

上级 d47015d4
...@@ -2430,11 +2430,4 @@ int32_t nodesStringToList(const char* pStr, SNodeList** pList) { ...@@ -2430,11 +2430,4 @@ int32_t nodesStringToList(const char* pStr, SNodeList** pList) {
if (NULL == pJson) { if (NULL == pJson) {
return TSDB_CODE_FAILED; return TSDB_CODE_FAILED;
} }
int32_t code = jsonToNodeListImpl(pJson, pList); int32_t
if (TSDB_CODE_SUCCESS != code) { \ No newline at end of file
nodesDestroyList(*pList);
terrno = code;
return code;
}
return TSDB_CODE_SUCCESS;
}
...@@ -404,7 +404,6 @@ static EDealRes translateValue(STranslateContext* pCxt, SValueNode* pVal) { ...@@ -404,7 +404,6 @@ static EDealRes translateValue(STranslateContext* pCxt, SValueNode* pVal) {
} }
varDataSetLen(pVal->datum.p, pVal->node.resType.bytes); varDataSetLen(pVal->datum.p, pVal->node.resType.bytes);
strncpy(varDataVal(pVal->datum.p), pVal->literal, pVal->node.resType.bytes); strncpy(varDataVal(pVal->datum.p), pVal->literal, pVal->node.resType.bytes);
parserDebug("!!!!!!!!!!!!value:%s,len:%d", pVal->literal, pVal->node.resType.bytes);
break; break;
} }
case TSDB_DATA_TYPE_TIMESTAMP: { case TSDB_DATA_TYPE_TIMESTAMP: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册