Compiler warning around wsrep options

Bug #1369916 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Fix Committed
Undecided
Teemu Ollakka
5.6
Fix Released
Undecided
Teemu Ollakka
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Committed
Undecided
Unassigned
5.6
Fix Released
Undecided
Unassigned

Bug Description

Compiling on Fedora 20 with GCC 4.8.3 causes the following warning:

/home/philips/git/codership-mysql/sql/mysqld.cc: In function ‘int get_options(int*, char***)’:
/home/philips/git/codership-mysql/sql/mysqld.cc:9649:217: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint {aka unsigned int}’ [-Wformat=]
           WSREP_WARN("--wsrep-sync-wait=%lu takes precedence over --wsrep-causal-reads=OFF. "
                                                                                                                                                                                                                         ^
/home/philips/git/codership-mysql/sql/mysqld.cc:9649:217: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint {aka unsigned int}’ [-Wformat=]

affects: galera → codership-mysql
Revision history for this message
Teemu Ollakka (teemu-ollakka) wrote :
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/PXC-1737

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.