#1065 add quotes to binary values

This commit is contained in:
fang 2020-01-04 15:35:01 +08:00
parent 975c2147db
commit 8eeb950083
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}