mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 18:34:59 +00:00
fixed spurious KeySize test error
This commit is contained in:
@@ -124,7 +124,9 @@ like(
|
||||
'Query uses index_merge (issue 364)'
|
||||
);
|
||||
|
||||
|
||||
# lets help get_key_size get an accurate figure by ANALYZING the table first
|
||||
# otherwise we get spurious false positives that are off by just a bit
|
||||
$dbh->do('ANALYZE TABLE test.issue_364');
|
||||
($size, $chosen_key) = $ks->get_key_size(%key);
|
||||
is(
|
||||
$size,
|
||||
|
Reference in New Issue
Block a user