Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-3632

LP #1660628: -Wmaybe-uninitialized sql_planner.cc compilation warnings

    Details

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 23-01-2018 14:12:19

      Copy of https://bugs.mysql.com/bug.php?id=77637:

      /root/mysql-5.6.25/sql/sql_planner.cc: In member function void Optimize_table_order::best_access_path(JOIN_TAB*, table_map, uint, bool, double, POSITION*, POSITION*):
      /root/mysql-5.6.25/sql/sql_planner.cc:431: warning: loose_scan_opt.Loose_scan_opt::best_loose_scan_start_key may be used uninitialized in this function
      /root/mysql-5.6.25/sql/sql_planner.cc:431: warning: loose_scan_opt.Loose_scan_opt::best_max_loose_keypart may be used uninitialized in this function
      /root/mysql-5.6.25/sql/sql_planner.cc:431: warning: loose_scan_opt.Loose_scan_opt::best_loose_scan_records may be used uninitialized in this function
      /root/mysql-5.6.25/sql/sql_planner.cc:431: warning: loose_scan_opt.Loose_scan_opt::best_loose_scan_key may be used uninitialized in this function
      /root/mysql-5.6.25/sql/sql_planner.cc:431: warning: loose_scan_opt.Loose_scan_opt::quick_max_loose_keypart may be used uninitialized in this function

        Attachments

          Expenses

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: