提交 8098a299 编写于 作者: wmmhello's avatar wmmhello

opti:parse non-standard json format

上级 51bb0ed6
......@@ -1283,8 +1283,8 @@ int32_t smlParseJSON(SSmlHandle *info, char *payload) {
continue;
}
if(*dataPointStart == '\0') break;
cnt++;
if(*dataPointStart == '\0') break;
}
info->lineNum = cnt;
......
......@@ -901,7 +901,10 @@ int sml_ts2164_Test() {
int sml_ttl_Test() {
TAOS *taos = taos_connect("localhost", "root", "taosdata", NULL, 0);
TAOS_RES *pRes = taos_query(taos, "create database if not exists sml_db schemaless 1");
TAOS_RES *pRes = taos_query(taos, "drop database if exists sml_db");
taos_free_result(pRes);
pRes = taos_query(taos, "create database if not exists sml_db schemaless 1");
taos_free_result(pRes);
const char *sql[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册