Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Aug 15, 2023
1 parent 21c7077 commit 1f810f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -3872,7 +3872,7 @@ static int convertTbDesToJsonImpl(
TableDes *tableDes,
char **jsonSchema, bool isColumn) {

char* outName = tbName
char* outName = tbName;
char tableName[TSDB_TABLE_NAME_LEN + 1];
if(g_args.dotReplace && replaceCopy(tableName, (char*)tbName)) {
outName = tableName;
Expand Down Expand Up @@ -4983,7 +4983,7 @@ static int64_t writeResultToAvroNative(
return 0;
}

char* outName = tbName
char* outName = tbName;
char tableName[TSDB_TABLE_NAME_LEN + 1];
if(g_args.dotReplace && replaceCopy(tableName, (char*)tbName)) {
outName = tableName;
Expand Down Expand Up @@ -8615,7 +8615,7 @@ static int createMTableAvroHeadImp(
}

avro_value_set_branch(&value, 1, &branch);
char* outSName = stable
char* outSName = stable;
char stableName[TSDB_TABLE_NAME_LEN + 1];
if(g_args.dotReplace && replaceCopy(stableName, (char*)stable)) {
outSName = stableName;
Expand All @@ -8632,7 +8632,7 @@ static int createMTableAvroHeadImp(

avro_value_set_branch(&value, 1, &branch);

char* outName = tbName
char* outName = tbName;
char tableName[TSDB_TABLE_NAME_LEN + 1];
if(g_args.dotReplace && replaceCopy(tableName, (char*)tbName)) {
outName = tableName;
Expand Down

0 comments on commit 1f810f2

Please sign in to comment.