mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +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]
|
collection = ns[1]
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
if query.Len() == 0 {
|
||||||
|
break
|
||||||
|
}
|
||||||
// first key is operation type
|
// first key is operation type
|
||||||
op = query.D[0].Name
|
op = query.D[0].Name
|
||||||
collection, _ = query.D[0].Value.(string)
|
collection, _ = query.D[0].Value.(string)
|
||||||
|
Reference in New Issue
Block a user