Skip to content

Commit

Permalink
roachpb: remove unused Fingerprint() function
Browse files Browse the repository at this point in the history
Remove unused `Fingerprint()` function from `roachpb`.

Release note: None
  • Loading branch information
Thomas Hardy committed Jul 11, 2022
1 parent ac6ee5e commit cf94eeb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/roachpb/app_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ import (
// StmtFingerprintID is the type of a Statement's fingerprint ID.
type StmtFingerprintID uint64

// FingerprintID returns the FingerprintID of the StatementStatisticsKey.
func (m *StatementStatisticsKey) FingerprintID() StmtFingerprintID {
return ConstructStatementFingerprintID(
m.Query,
m.Failed,
m.ImplicitTxn,
m.Database,
)
}

// ConstructStatementFingerprintID constructs an ID by hashing an anonymized query, its database
// and failure status, and if it was part of an implicit txn. At the time of writing,
// these are the axis' we use to bucket queries for stats collection
Expand Down

0 comments on commit cf94eeb

Please sign in to comment.