Skip to content

Commit

Permalink
inspectkv: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Dec 24, 2015
1 parent c09f413 commit 76ec2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inspectkv/inspectkv.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ func GetTableRecordsCount(txn kv.Transaction, t table.Table, startHandle int64)
for it.Valid() && strings.HasPrefix(it.Key(), prefix) {
handle, err := tables.DecodeRecordKeyHandle(it.Key())
if err != nil {
it.Close()
return 0, errors.Trace(err)
}

Expand Down

0 comments on commit 76ec2e2

Please sign in to comment.