Ignore the new 5.6 mysql stats tables in SchemaIterator and update that module in all tools and updated affected samples.

This commit is contained in:
Daniel Nichter
2012-12-05 18:27:12 +00:00
parent a672a1d98d
commit dd333380f2
10 changed files with 62 additions and 138 deletions

View File

@@ -3239,9 +3239,16 @@ sub table_is_allowed {
my $filter = $self->{filters};
if ( $db eq 'mysql' && ($tbl eq 'general_log' || $tbl eq 'slow_log') ) {
return 0;
}
return 0 if $db eq 'mysql' && $tbl =~ m/^(?:
general_log
|slow_log
|innodb_index_stats
|innodb_table_stats
|ndb_binlog_index
|slave_master_info
|slave_relay_log_info
|slave_worker_info
)$/x;
if ( $filter->{'ignore-tables'}->{$tbl}
&& ($filter->{'ignore-tables'}->{$tbl} eq '*'