From 78ea9ee4f26d7927cfcadb482a0031e2e40c7684 Mon Sep 17 00:00:00 2001 From: Paul Szabo Date: Fri, 12 Jan 2024 16:03:41 +0100 Subject: [PATCH] MDEV-33187: mariadb-hotcopy fails for sys 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 --- scripts/mysqlhotcopy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh index 78399ac3599..d0821e663c4 100644 --- a/scripts/mysqlhotcopy.sh +++ b/scripts/mysqlhotcopy.sh @@ -289,6 +289,7 @@ if ( defined $opt{regexp} ) { while ( my ($db_name) = $sth_dbs->fetchrow_array ) { next if $db_name =~ m/^information_schema$/i; next if $db_name =~ m/^performance_schema$/i; + next if $db_name =~ m/^sys$/i; push @db_desc, { 'src' => $db_name, 't_regex' => $t_regex } if ( $db_name =~ m/$opt{regexp}/o ); } }