Bug #45178 Build warnings in the maria code
Submitted: 29 May 2009 0:41 Modified: 18 Mar 2010 10:38
Reporter: Marc ALFF Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Maria storage engine Severity:S1 (Critical)
Version:6.0 OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[29 May 2009 0:41] Marc ALFF
Description:
The maria code does not build properly.

ha_maria.cc: In member function ‘int ha_maria::repair(THD*, HA_CHECK*, bool)’:
ha_maria.cc:1222: warning: suggest parentheses around && within ||

malff@linux-5e3f:~/BZR-TREE/mysql-6.0-perfschema/storage/maria> gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]

How to repeat:
Build with gcc 4.3.1
[29 May 2009 9:03] Sveta Smirnova
Thank you for the report.

Verified as described. Problem is not repeatable with gcc version 4.1.1