Explorar o código

Merge pull request #36 from clauslack/patch-1

Update dbinfo.pas
Motaz Abdel Azeem %!s(int64=7) %!d(string=hai) anos
pai
achega
6e5054e8a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dbinfo.pas

+ 1 - 1
dbinfo.pas

@@ -107,7 +107,7 @@ begin
       edCreationDate.Text:= CreationDate;
       edPageSize.Text:= IntToStr(PageSize);
       edConnections.Text:= IntToStr(ProcessList.Count);
-      dbSize:= Pages * PageSize;
+      dbSize:= Double(Pages) * Double(PageSize);     
 
       // Display database size in readable format
       if dbSize > (1024*1024*1024) then