Bugfix: resetting values did not reset the timestamp for table_io_waits_summary_by_table
authorSimon J Mudd <sjmudd@pobox.com>
Sun, 4 Jan 2015 00:40:27 +0000 (01:40 +0100)
committerSimon J Mudd <sjmudd@pobox.com>
Sun, 4 Jan 2015 00:40:27 +0000 (01:40 +0100)
p_s/table_io_waits_summary_by_table/table_io_waits_summary_by_table.go

index 8c9620b..00baecc 100644 (file)
@@ -84,6 +84,7 @@ func (t *Table_io_waits_summary_by_table) make_results() {
 func (t *Table_io_waits_summary_by_table) SyncReferenceValues() {
        // lib.Logger.Println( "Table_io_waits_summary_by_table.SyncReferenceValues() BEGIN" )
 
+       t.SetNow()
        t.initial = make(table_io_waits_summary_by_table_rows, len(t.current))
        copy(t.initial, t.current)