mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
sanity check
This commit is contained in:
@@ -98,6 +98,9 @@ func (f *Fingerprint) Fingerprint(doc proto.SystemProfile) (string, error) {
|
||||
collection = ns[1]
|
||||
}
|
||||
default:
|
||||
if query.Len() == 0 {
|
||||
break
|
||||
}
|
||||
// first key is operation type
|
||||
op = query.D[0].Name
|
||||
collection, _ = query.D[0].Value.(string)
|
||||
|
Reference in New Issue
Block a user