Build warnings introduced by userstat.patch

Bug #711817 reported by Alexey Kopytov on 2011-02-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Alexey Kopytov
Alexey Kopytov
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: In function ‘void mysql_parse(THD*, char*, uint, const char**)’: warning: unused variable ‘tp’ In function ‘void mysqld_stmt_prepare(THD*, const char*, uint)’: warning: unused variable ‘tp’ In function ‘void mysqld_stmt_execute(THD*, char*, uint)’: warning: unused variable ‘tp’ In function ‘void mysqld_stmt_fetch(THD*, char*, uint)’: warning: unused variable ‘tp’ In function ‘void mysqld_stmt_reset(THD*, char*)’: warning: unused variable ‘tp’

Related branches

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