Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Jun 14, 2024
1 parent 1310afc commit 1278ac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/benchData.c
Original file line number Diff line number Diff line change
Expand Up @@ -2302,12 +2302,13 @@ void generateSmlTaosJsonCols(tools_cJSON *array, tools_cJSON *tag,
tmfree(buf);
break;
}
case TSDB_DATA_TYPE_GEOMETRY:
case TSDB_DATA_TYPE_GEOMETRY: {
char *buf = (char *)benchCalloc(col->length + 1, 1, false);
tmpGeometry(buf, stbInfo->iface, col, 0);
tools_cJSON_AddStringToObject(value, "value", buf);
tools_cJSON_AddStringToObject(value, "type", "geometry");
tmfree(buf);
}
default: {
double dblTmp = (double)col->min;
if (col->max != col->min) {
Expand Down

0 comments on commit 1278ac0

Please sign in to comment.