mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Display tenths of a second through FormatTimeNumber. Used by query running status, table tools dialog and some more.
This commit is contained in:
@ -748,7 +748,7 @@ begin
|
||||
DeleteFile(FileName);
|
||||
LogRow := FResults.Last;
|
||||
LogRow[2] := _('Compressing done.');
|
||||
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) DIV 1000, True);
|
||||
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) / 1000, True);
|
||||
ResultGrid.Repaint;
|
||||
end;
|
||||
|
||||
@ -1352,7 +1352,7 @@ const
|
||||
BytesDone := Max(DBObj.Size,0) div Max(DBObj.Rows,1) * RowsDone;
|
||||
FObjectSizesDoneExact := FObjectSizesDone + BytesDone;
|
||||
LogRow[2] := FormatNumber(RowsDone) + ' / ' + FormatNumber(Percent, 0)+'%';
|
||||
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) DIV 1000, True);
|
||||
LogRow[3] := FormatTimeNumber((GetTickCount-StartTime) / 1000, True);
|
||||
UpdateResultGrid;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user