Commit 388dc4c3 authored by unknown's avatar unknown
Browse files

Don't try to mysqlhotcopy the INFORMATION_SCHEMA database. (Bug #14610)


scripts/mysqlhotcopy.sh:
  Skip INFORMATION_SCHEMA when matching database names against regex.
parent db813bde
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -252,6 +252,7 @@ if ( defined $opt{regexp} ) {
    my $sth_dbs = $dbh->prepare("show databases");
    $sth_dbs->execute;
    while ( my ($db_name) = $sth_dbs->fetchrow_array ) {
	next if $db_name =~ m/^information_schema$/i;
	push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o );
    }
}