mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
Update samples with new output for --tries.
This commit is contained in:
@@ -7985,13 +7985,13 @@ sub main {
|
||||
# ########################################################################
|
||||
# Print --tries.
|
||||
# ########################################################################
|
||||
# print "Operation, tries, wait:\n";
|
||||
# {
|
||||
# my $fmt = " %s, %s, %s\n";
|
||||
# foreach my $op ( sort keys %$tries ) {
|
||||
# printf $fmt, $op, $tries->{$op}->{tries}, $tries->{$op}->{wait};
|
||||
# }
|
||||
# }
|
||||
print "Operation, tries, wait:\n";
|
||||
{
|
||||
my $fmt = " %s, %s, %s\n";
|
||||
foreach my $op ( sort keys %$tries ) {
|
||||
printf $fmt, $op, $tries->{$op}->{tries}, $tries->{$op}->{wait};
|
||||
}
|
||||
}
|
||||
|
||||
# ########################################################################
|
||||
# Get child tables of the original table, if necessary.
|
||||
|
@@ -1,3 +1,9 @@
|
||||
Operation, tries, wait:
|
||||
copy_rows, 10, 0.25
|
||||
create_triggers, 10, 1
|
||||
drop_triggers, 10, 1
|
||||
swap_tables, 10, 1
|
||||
update_foreign_keys, 10, 1
|
||||
Starting a dry run. `bug_1045317`.`bits` will not be altered. Specify --execute instead of --dry-run to alter the table.
|
||||
Not dropping triggers because this is a dry run.
|
||||
Dropping new table...
|
||||
|
@@ -1,3 +1,9 @@
|
||||
Operation, tries, wait:
|
||||
copy_rows, 10, 0.25
|
||||
create_triggers, 10, 1
|
||||
drop_triggers, 10, 1
|
||||
swap_tables, 10, 1
|
||||
update_foreign_keys, 10, 1
|
||||
Altering `bug_1045317`.`bits`...
|
||||
Dropping triggers...
|
||||
Dropped triggers OK.
|
||||
|
Reference in New Issue
Block a user