summaryrefslogtreecommitdiff
path: root/scripts/mysqlhotcopy.sh
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-11-10 17:05:36 -0800
committerjimw@mysql.com <>2005-11-10 17:05:36 -0800
commitbb742ae0fa52f2d123fef89a8387029a1a62026d (patch)
tree28bd486bc37eed2b99dc352ea41fa015335be089 /scripts/mysqlhotcopy.sh
parent3506e1e58b658cbe78bb4baef02cb267daafcde1 (diff)
downloadmariadb-git-bb742ae0fa52f2d123fef89a8387029a1a62026d.tar.gz
Don't try to mysqlhotcopy the INFORMATION_SCHEMA database. (Bug #14610)
Diffstat (limited to 'scripts/mysqlhotcopy.sh')
-rw-r--r--scripts/mysqlhotcopy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index 1c5cd6a4faf..bf53aa78e15 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -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 );
}
}