Bug #68571 False positive for 32-binary check on win64

Submitted: 5 Mar 2013 9:08 Modified: 26 Feb 2014 9:41
Reporter: Daniël van Eeden Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Enterprise Monitor: Advisors/Rules Severity:S3 (Non-critical)
Version: OS:Windows (Win7 SP1)
Assigned to: CPU Architecture:Any

[5 Mar 2013 9:08] Daniël van Eeden
Description:
The rule "32-Bit Binary Running on 64-Bit AMD Or Intel System (v 1.2 *)" gives a false positive.

The rule:
((%os_arch% == "amd64") || (%os_arch% == "x86_64")) && ((%version_compile_machine% == "i386") || (%version_compile_machine% == "i686") || (%version_compile_machine% == "ia32") || (%version_compile_machine% == "x86"))

Evaluated:
(("x86_64" == "amd64") || ("x86_64" == "x86_64")) && (("x86" == "i386") || ("x86" == "i686") || ("x86" == "ia32") || ("x86" == "x86"))

The variables for this instance:
version = 5.5.30
version_comment = MySQL Community Server (GPL)
version_compile_machine = x86
version_compile_os = Win64

This instance is installed from the downloaded file "mysql-5.5.30-winx64.zip".
The mysqld file is a 64-bit executable according to "MiTec EXE Explorer"
The machine has a Intel Core i5 CPU and has a 64-bit OS (Win7 Enterprise SP1).

How to repeat:
Enable the rule on a machine with 5.5.30 on Win7 (both 64-bit)

Suggested fix:
Also check the "version_compile_os" variable.
[26 Feb 2014 9:41] MySQL Verification Team
Hello Daniel,

Thank you for the bug report!

Thanks,
Umesh
[24 Jun 2014 15:36] Barry Banhagel
mysql -V
mysql  Ver 14.14 Distrib 5.5.30, for Win64 (x86)
mysqld -V
mysqld  Ver 5.5.30 for Win64 on x86 (MySQL Community Server (GPL))

show variables like "version_compile_machine"; 
"version_compile_machine"	"x86"
Server is WINDOWS 2008 R2 64GB RAM Intel Xeon chipset

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.