Skip to content

Commit

Permalink
MDEV-21317 mysqlhotcopy and transaction_registry table
Browse files Browse the repository at this point in the history
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
  • Loading branch information
midenok committed Feb 2, 2020
1 parent e13e49e commit 74deeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mysqlhotcopy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74deeae

Please sign in to comment.