Build warnings introduced by userstat.patch

Bug #711817 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Alexey Kopytov
5.1
Fix Released
Undecided
Unassigned
5.5
Fix Released
Low
Alexey Kopytov
5.6
Fix Released
Low
Alexey Kopytov

Bug Description

Reporting the userstat.patch warnings as a separate bug per Yasufumi's request.

The following warnings are introduced by the patch when building on any non-Linux platform:

sql_parse.cc: In function ‘void mysql_parse(THD*, char*, uint, const char**)’:
sql_parse.cc:6142: warning: unused variable ‘tp’

sql_prepare.cc: In function ‘void mysqld_stmt_prepare(THD*, const char*, uint)’:
sql_prepare.cc:2116: warning: unused variable ‘tp’
sql_prepare.cc: In function ‘void mysqld_stmt_execute(THD*, char*, uint)’:
sql_prepare.cc:2564: warning: unused variable ‘tp’
sql_prepare.cc: In function ‘void mysqld_stmt_fetch(THD*, char*, uint)’:
sql_prepare.cc:2726: warning: unused variable ‘tp’
sql_prepare.cc: In function ‘void mysqld_stmt_reset(THD*, char*)’:
sql_prepare.cc:2855: warning: unused variable ‘tp’

Related branches

Changed in percona-server:
assignee: nobody → Yasufumi Kinoshita (yasufumi-kinoshita)
Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

I will fix also for 5.5.x soon

Changed in percona-server:
status: New → Fix Committed
Changed in percona-server:
status: Fix Committed → Fix Released
Revision history for this message
Alexey Kopytov (akopytov) wrote :

This bug was fixed only in 5.1, but not in 5.5 (so it also made it to 5.6).

It is a bit mysterious how I didn't notice it earlier. I'm fairly sure I could build both 5.5 and 5.6 in debug configuration and maintainer mode enabled until recently. It now fails for me with exactly the same symptoms, though the build environment seems to be the same.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1844

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.