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

TD-6129<feature> add taos json key hash free function

上级 5495be27
......@@ -470,9 +470,9 @@ bool isValidateTag(char *input) {
if (!input) return false;
int len = strlen(input);
if (len == 0) return false;
if (input[0] != '_' || isalpha(input[0]) == 0) return false;
if (input[0] != '_' && isalpha(input[0]) == 0) return false;
for (int i = 1; i < len; ++i) {
if (input[0] != '_' || isalnum(input[0]) == 0) return false;
if (input[i] != '_' && isalnum(input[i]) == 0) return false;
}
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册