Fixes for table-checksum

This commit is contained in:
Carlos Salguero
2017-01-17 10:15:18 -03:00
parent 410e75a623
commit c97d690e9e
7 changed files with 14 additions and 6 deletions

View File

@@ -405,7 +405,7 @@ sub database_is_allowed {
my $filter = $self->{filters};
if ( $db =~ m/information_schema|performance_schema|lost\+found|percona|percona_schema/ ) {
if ( $db =~ m/^(information_schema|performance_schema|lost\+found|percona_schema)$/ ) {
PTDEBUG && _d('Database', $db, 'is a system database, ignoring');
return 0;
}