Update samples with new output for --tries.

This commit is contained in:
Daniel Nichter
2013-03-05 16:25:12 -07:00
parent eefaeeb8cc
commit c1f3e130b1
3 changed files with 19 additions and 7 deletions

View File

@@ -7985,13 +7985,13 @@ sub main {
# ######################################################################## # ########################################################################
# Print --tries. # Print --tries.
# ######################################################################## # ########################################################################
# print "Operation, tries, wait:\n"; print "Operation, tries, wait:\n";
# { {
# my $fmt = " %s, %s, %s\n"; my $fmt = " %s, %s, %s\n";
# foreach my $op ( sort keys %$tries ) { foreach my $op ( sort keys %$tries ) {
# printf $fmt, $op, $tries->{$op}->{tries}, $tries->{$op}->{wait}; printf $fmt, $op, $tries->{$op}->{tries}, $tries->{$op}->{wait};
# } }
# } }
# ######################################################################## # ########################################################################
# Get child tables of the original table, if necessary. # Get child tables of the original table, if necessary.

View File

@@ -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. 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. Not dropping triggers because this is a dry run.
Dropping new table... Dropping new table...

View File

@@ -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`... Altering `bug_1045317`.`bits`...
Dropping triggers... Dropping triggers...
Dropped triggers OK. Dropped triggers OK.