Log archiving-related compilation warnings

Bug #1337251 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Laurynas Biveinis
5.6
Fix Released
Medium
Laurynas Biveinis

Bug Description

Seen on release build configurations:

[ 46%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/log/log0log.cc.o
/home/laurynas/percona/lp-mysql-server/percona-server/5.6/storage/innobase/log/log0log.cc: In function ‘ulint log_archive_do(ulint, ulint*)’:
/home/laurynas/percona/lp-mysql-server/percona-server/5.6/storage/innobase/log/log0log.cc:2950:14: warning: ‘limit_lsn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  ib_uint64_t limit_lsn;
              ^
[ 46%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/srv/srv0start.cc.o
/home/laurynas/percona/lp-mysql-server/percona-server/5.6/storage/innobase/srv/srv0start.cc: In function ‘dberr_t innobase_start_or_create_for_mysql()’:
/home/laurynas/percona/lp-mysql-server/percona-server/5.6/storage/innobase/srv/srv0start.cc:2370:20: warning: ‘min_arch_log_no’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    min_arch_log_no);
                    ^

Related branches

tags: added: xtradb
tags: added: low-hanging-fruit
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-1523

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.