[MDEV-4108] Compilation warnings with RelWithDebInfo only present in the Galera tree Created: 2013-01-29  Updated: 2013-11-25  Resolved: 2013-11-25

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.28a-galera
Fix Version/s: 5.5.34-galera

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera
Environment:

Ubuntu 11.10 x86_64, gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1, cmake version 2.8.5


Issue Links:
Relates

 Description   

Please check if any of these can/should be fixed.

client/mysqldump.c: In function 'print_xml_row':
client/mysqldump.c:1917:11: warning: variable 'body_found' set but not used [-Wunused-but-set-variable]
 
sql/handler.cc: In function 'int ha_commit_trans(THD*, bool)':
sql/handler.cc:1278:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
 
sql/sql_table.cc: In function 'bool mysql_alter_table(THD*, char*, char*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, uint, ORDER*, bool, bool)':
sql/sql_table.cc:6251:10: warning: unused variable 'do_log_write' [-Wunused-variable]

revision-id: sergii@pisem.net-20121220113437-x6wi7x1taracdrdn
revno: 3365
branch-nick: maria-5.5-galera

Built as
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2013-11-25 ]

Fix for this bug has been pushed to maria-5.5-galera.

Generated at Thu Feb 08 06:53:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.