mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-20 01:16:14 +00:00
Added --ask-pass option to pt-stalk. Fixed small issue with sandbox when there is no mysql database
This commit is contained in:
@@ -374,6 +374,10 @@ sub verify_test_data {
|
||||
. join(", ", map { "mysql.$_" } @tables_in_mysql)
|
||||
. ", "
|
||||
. join(", ", map { "sakila.$_" } @tables_in_sakila);
|
||||
|
||||
# remove leading "," if any
|
||||
$sql =~ s/CHECKSUM TABLES\s+,/CHECKSUM TABLES /;
|
||||
|
||||
my @checksums = @{$dbh->selectall_arrayref($sql, {Slice => {} })};
|
||||
|
||||
# Diff the two sets of checksums: host to master (ref).
|
||||
|
Reference in New Issue
Block a user