Browse Source

Merge pull request #36 from clauslack/patch-1

Update dbinfo.pas
Motaz Abdel Azeem 7 years ago
parent
commit
6e5054e8a5
1 changed files with 1 additions and 1 deletions
  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