提交 f53b9104 编写于 作者: G Ganlin Zhao

[TD-6442]<feature>: Support OpenTSDB telnet style data import format

上级 4ae20f6a
......@@ -138,7 +138,6 @@ static int32_t parseTelnetMetricValue(TAOS_SML_KV **pKVs, int *num_kvs, const ch
value = tcalloc(len + 1, 1);
memcpy(value, start, len);
} else {
tfree(*pKVs);
return TSDB_CODE_TSC_LINE_SYNTAX_ERROR;
}
......@@ -146,7 +145,6 @@ static int32_t parseTelnetMetricValue(TAOS_SML_KV **pKVs, int *num_kvs, const ch
tscError("OTD:0x%"PRIx64" Failed to convert metric value string(%s) to any type",
info->id, value);
tfree(value);
tfree(*pKVs);
return TSDB_CODE_TSC_LINE_SYNTAX_ERROR;
}
tfree(value);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册