未验证 提交 9dd6cd01 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #1069 from taosdata/feature/fangdoc

#1065 add quotes to binary values
......@@ -842,7 +842,7 @@ void generateData(char *res, char **data_type, int num_of_cols, int64_t timestam
} else if (strcasecmp(data_type[i % c], "binary") == 0) {
char s[len_of_binary];
rand_string(s, len_of_binary);
pstr += sprintf(pstr, ", %s", s);
pstr += sprintf(pstr, ", \"%s\"", s);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册