[TD-5978]<fix>: taosdemo set only one custom field. (#7301)

This commit is contained in:
Shuduo Sang 2021-08-11 18:25:26 +08:00 committed by GitHub
parent e233ab6265
commit 1ab504f90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1010,6 +1010,7 @@ static void parse_args(int argc, char *argv[], SArguments *arguments) {
exit(EXIT_FAILURE);
}
arguments->datatype[0] = argv[i];
arguments->datatype[1] = NULL;
} else {
// more than one col
int index = 0;