Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunzhu committed Jul 12, 2021
1 parent 88e84cc commit 62c52a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion v4/export/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ func (d *Dumper) Dump() (dumpErr error) {
summary.CollectFailureUnit("dump table data", err)
return errors.Trace(err)
}
finishedRowsCounter.DeleteLabelValues("")
summary.CollectSuccessUnit("dump cost", countTotalTask(writers), time.Since(tableDataStartTime))

summary.SetSuccessStatus(true)
Expand Down
3 changes: 1 addition & 2 deletions v4/export/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1214,8 +1214,7 @@ func readRegionCsvDriverValues(c *C) [][]driver.Value {
}
regionID, err := strconv.Atoi(results[0])
c.Assert(err, IsNil)
startKey := strings.Trim(results[1], `"`)
endKey := strings.Trim(results[2], `"`)
startKey, endKey := results[1], results[2]
values = append(values, []driver.Value{regionID, startKey, endKey})
}
return values
Expand Down

0 comments on commit 62c52a8

Please sign in to comment.