diff options
author | jimw@mysql.com <> | 2005-11-10 17:05:36 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-11-10 17:05:36 -0800 |
commit | bb742ae0fa52f2d123fef89a8387029a1a62026d (patch) | |
tree | 28bd486bc37eed2b99dc352ea41fa015335be089 /scripts/mysqlhotcopy.sh | |
parent | 3506e1e58b658cbe78bb4baef02cb267daafcde1 (diff) | |
download | mariadb-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.sh | 1 |
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 ); } } |