Percona Server with XtraDB

Build warnings introduced by userstat.patch

Reported by Alexey Kopytov on 2011-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Undecided
Unassigned
5.5
Low
Alexey Kopytov
5.6
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’

Changed in percona-server:
assignee: nobody → Yasufumi Kinoshita (yasufumi-kinoshita)

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
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.

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

Other bug subscribers