Add timestamp to lines indicating actions that might take awhile, e.g. "Dropping triggers...".

This commit is contained in:
Daniel Nichter
2013-06-25 12:52:03 -07:00
parent 8f78050570
commit 00a2fc3e23
4 changed files with 77 additions and 69 deletions

View File

@@ -6,8 +6,8 @@ Operation, tries, wait:
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...
Dropped new table OK.
TS Dropping new table...
TS Dropped new table OK.
# Event Count
# ====== =====
# INSERT 0

View File

@@ -5,8 +5,8 @@ Operation, tries, wait:
swap_tables, 10, 1
update_foreign_keys, 10, 1
Altering `bug_1045317`.`bits`...
Dropping triggers...
Dropped triggers OK.
TS Dropping triggers...
TS Dropped triggers OK.
# Event Count
# ================== =====
# INSERT 1
@@ -16,11 +16,11 @@ Creating new table...
Created new table bug_1045317._bits_new OK.
Altering new table...
Altered `bug_1045317`.`_bits_new` OK.
Creating triggers...
Created triggers OK.
Copying approximately 3 rows...
Copied rows OK.
Swapping tables...
Swapped original and new tables OK.
Dropping old table...
Dropped old table `bug_1045317`.`_bits_old` OK.
TS Creating triggers...
TS Created triggers OK.
TS Copying approximately 3 rows...
TS Copied rows OK.
TS Swapping tables...
TS Swapped original and new tables OK.
TS Dropping old table...
TS Dropped old table `bug_1045317`.`_bits_old` OK.