Bug #81177 Database size displays wrong value
Submitted: 22 Apr 2016 9:41 Modified: 25 Apr 2016 10:24
Reporter: Oliver Verlinden Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.6 OS:Windows (Windows 7 x64)
Assigned to: CPU Architecture:Any

[22 Apr 2016 9:41] Oliver Verlinden
Description:
Opening the schema inspector displays the database size on the "Info" tab.
My database is 6.2GB in size, but the "database size" is displayed as large negative number in byte (maybe integer overflow in display layer?)

How to repeat:
Create a database and upload 6.2GB of data.
Open the schema explorer and take a look at the "database size" field on the "Info" tab. It displays a large negative number in byte (e.g. -1200619520.0 bytes).

Suggested fix:
Check integer overflows in conversion logic. Choose a matching variable type.
[22 Apr 2016 9:43] Oliver Verlinden
Wrong database size is displayed in UI

Attachment: Database size.JPG (image/jpeg, text), 15.43 KiB.

[22 Apr 2016 10:31] MySQL Verification Team
Hello Oliver,

Thank you for taking the time to report a problem.  Unfortunately you are not using a current version of the product you reported a problem with -- the problem might already be fixed. Please download a new version from http://www.mysql.com/downloads/

I've confirmed that this issue is no longer seen in latest WB GA builds.

If you are able to reproduce the bug with one of the latest versions, please change the version on this bug report to the version you tested and change the status back to "Open".  Again, thank you for your continued support of MySQL.

Thanks,
Umesh
[22 Apr 2016 10:32] MySQL Verification Team
Screenshot..

Attachment: 81177.png (image/png, text), 30.19 KiB.

[22 Apr 2016 12:30] Oliver Verlinden
Hello Umesh,

I just upgraded to 6.3.6 and ste error is still there.

Best regards
Oliver
[22 Apr 2016 12:32] Oliver Verlinden
Screenshot of 6.3.6

Attachment: Database size 6.3.6.JPG (image/jpeg, text), 37.76 KiB.

[22 Apr 2016 13:22] MySQL Verification Team
Thank you for the feedback.
Let me check with bigger data size and get back to you on this.

Thanks,
Umesh
[25 Apr 2016 10:24] MySQL Verification Team
Thank you for the feedback.
Imho, only 32bit builds are affected.
[25 Apr 2016 10:24] MySQL Verification Team
Screenshot.. 32bit build is affected

Attachment: 81177_32bit.png (image/png, text), 33.73 KiB.