Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed May 25, 2024
1 parent 50a1074 commit 34f700e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/benchUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ int convertStringToDatatype(char *type, int length) {
return TSDB_DATA_TYPE_JSON;
} else if (0 == strncasecmp(type, "varchar", length)) {
return TSDB_DATA_TYPE_BINARY;
} else if (0 == strcnasecmp(type, "varbinary"), length) {
} else if (0 == strcnasecmp(type, "varbinary", length) {
return TSDB_DATA_TYPE_VARBINARY;
} else {
errorPrint("unknown data type: %s\n", type);
Expand Down

0 comments on commit 34f700e

Please sign in to comment.