MDEV-21317 mysqlhotcopy and transaction_registry table

See also original report:
http://bugs.debian.org/946671

Using mysqlhotcopy, the following error occurs:

DBD::mysql::db do failed: You can't use locks with log tables at
/usr/bin/mysqlhotcopy line 545.

Author:

Paul Szabo psz@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia
This commit is contained in:
Aleksey Midenkov 2020-02-02 15:13:29 +03:00
parent e13e49e5ab
commit 74deeaee34

View File

@ -296,7 +296,7 @@ foreach my $rdb ( @db_desc ) {
if ($db =~ m/^mysql$/i)
{
@dbh_base_tables = grep
{ !/^(apply_status|schema|general_log|slow_log)$/ } @dbh_base_tables
{ !/^(apply_status|schema|general_log|slow_log|transaction_registry)$/ } @dbh_base_tables
}
## generate regex for tables/files