Superficially the initial key parts must be shared and not result in duplicate stat entries (with differing values), right? Since SHOW INDEX must return the index name, the same shared row should be returned several times?
How's the following case handled:
..., key(f2, f1), key(f3, f1), ...
That does not result in "f1" bogus individual cardinality stats computed, does it?
Superficially the initial key parts must be shared and not result in duplicate stat entries (with differing values), right? Since SHOW INDEX must return the index name, the same shared row should be returned several times?
How's the following case handled:
..., key(f2, f1), key(f3, f1), ...
That does not result in "f1" bogus individual cardinality stats computed, does it?