Commit 7702e481 authored by Paul Szabo's avatar Paul Szabo Committed by Daniel Black

MDEV-30259: mariadb-hotcopy fails for performance_schema

Signed-off-by: Paul Szabo psz@maths.usyd.edu.au www.maths.usyd.edu.au/u/psz
School of Mathematics and Statistics University of Sydney Australia
parent 82f27ea5
...@@ -288,6 +288,7 @@ if ( defined $opt{regexp} ) { ...@@ -288,6 +288,7 @@ if ( defined $opt{regexp} ) {
$sth_dbs->execute; $sth_dbs->execute;
while ( my ($db_name) = $sth_dbs->fetchrow_array ) { while ( my ($db_name) = $sth_dbs->fetchrow_array ) {
next if $db_name =~ m/^information_schema$/i; next if $db_name =~ m/^information_schema$/i;
next if $db_name =~ m/^performance_schema$/i;
push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o ); push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment