提交 59c20c96 编写于 作者: X xywang

[TS-1289]<fix>: fixed incorrect create stable rebuild statement

上级 7d8887a4
......@@ -385,7 +385,7 @@ static int32_t tscGetTableTagValue(SCreateBuilder *builder, char *result) {
if (i == num_fields - 1) {
if (fields[i].type == TSDB_DATA_TYPE_JSON) {
sprintf(result + strlen(result) - 1, "%s'", ")");
sprintf(result + strlen(result) - 1, "'%s", ")");
} else {
sprintf(result + strlen(result) - 1, "%s", ")");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册