[TD_543] fix coverity scan, cid:267813
This commit is contained in:
parent
0f928893e0
commit
dadb3adecc
|
@ -646,10 +646,9 @@ int taosDumpDb(SDbInfo *dbInfo, SDumpArguments *arguments, FILE *fp) {
|
|||
taosDumpTable(tableRecord.name, tableRecord.metric, arguments, fp);
|
||||
}
|
||||
|
||||
tclose(fd);
|
||||
remove(".table.tmp");
|
||||
close(fd);
|
||||
|
||||
return 0;
|
||||
return remove(".table.tmp");
|
||||
}
|
||||
|
||||
void taosDumpCreateTableClause(STableDef *tableDes, int numOfCols, SDumpArguments *arguments, FILE *fp) {
|
||||
|
|
Loading…
Reference in New Issue