Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #40 from ilsken/fix-fingerprints
Browse files Browse the repository at this point in the history
PMM-1941 Fix fingerprint storage bug
  • Loading branch information
askomorokhov authored Feb 9, 2018
2 parents 9b64001 + ccbc8ed commit 2dfd7a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/qan/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ func (h *MySQLMetricWriter) getQueryAndTables(class *event.Class) (query.QueryIn
bytes, _ := json.Marshal(query.Tables)
tables = string(bytes)
}

// We still want to store the fingerprint in the database
// even if an example is available
query.Query = class.Fingerprint
return query, tables, nil
}

Expand Down

0 comments on commit 2dfd7a4

Please sign in to comment.