提交 34d57212 编写于 作者: G Ganlin Zhao

Merge branch 'feature/d5' of github.com:taosdata/TDengine into feature/d5

...@@ -2055,6 +2055,8 @@ static int32_t parseSmlKvPairs(TAOS_SML_KV **pKVs, int *num_kvs, ...@@ -2055,6 +2055,8 @@ static int32_t parseSmlKvPairs(TAOS_SML_KV **pKVs, int *num_kvs,
if (!isField && (strcasecmp(pkv->key, "ID") == 0)) { if (!isField && (strcasecmp(pkv->key, "ID") == 0)) {
ret = isValidChildTableName(pkv->value, pkv->length, info); ret = isValidChildTableName(pkv->value, pkv->length, info);
if (ret) { if (ret) {
free(pkv->key);
free(pkv->value);
goto error; goto error;
} }
smlData->childTableName = malloc( pkv->length + 1); smlData->childTableName = malloc( pkv->length + 1);
......
...@@ -344,12 +344,12 @@ int32_t verify_schema_less(TAOS* taos) { ...@@ -344,12 +344,12 @@ int32_t verify_schema_less(TAOS* taos) {
code = taos_schemaless_insert(taos, &lines5[0], 1, 0, "ns"); code = taos_schemaless_insert(taos, &lines5[0], 1, 0, "ns");
code = taos_schemaless_insert(taos, &lines5[1], 1, 0, "ns"); code = taos_schemaless_insert(taos, &lines5[1], 1, 0, "ns");
char* lines6[] = { char* lines6[] = {
"st123456,t1=3i64,t2=4f64,t3=\"t3\" c1=3i64,c3=L\"passit\",c2=false,c4=4f64 1626006833639000000", "st123456,t1=3i64,t2=4f64,t3=\"t3\" c1=3i64,c3=L\"passit\",c2=false,c4=4f64 1626006833639000000",
"dgtyqodr,t2=5f64,t3=L\"ste\" c1=tRue,c2=4i64,c3=\"iam\" 1626056811823316532" "dgtyqodr,t2=5f64,t3=L\"ste\" c1=tRue,c2=4i64,c3=\"iam\" 1626056811823316532"
}; };
code = taos_schemaless_insert(taos, lines6, 2, 0, "ns"); code = taos_schemaless_insert(taos, lines6, 2, 0, "ns");
return (code); return (code);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册