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

LP #878164: GCC 4.6 warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 13-01-2012 10:21:42

      GCC 4.6 has expanded diagnostics. New warnings reported:

      Probably related to the dynamic row format patch:

      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_delete.c: In function heap_delete:
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_delete.c:25:8: warning: variable rec_length set but not used [-Wunused-but-set-variable]

      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_write.c: In function heap_write:
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_write.c:37:8: warning: variable rec_length set but not used [-Wunused-but-set-variable]
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_update.c: In function heap_update:
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_update.c:26:20: warning: variable new_length set but not used [-Wunused-but-set-variable]
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_update.c:26:8: warning: variable old_length set but not used [-Wunused-but-set-variable]

      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_test2.c: In function main:
      /home/laurynas/percona/src/percona-server/Percona-Server/storage/heap/hp_test2.c:48:8: warning: variable mem_per_keys set but not used [-Wunused-but-set-variable]

      Probably related to the slow query log patches (or upstream):

      /home/laurynas/percona/src/percona-server/Percona-Server/sql/log.cc: In member function bool LOGGER::slow_log_print(THD*, const char*, uint, ulonglong):
      /home/laurynas/percona/src/percona-server/Percona-Server/sql/log.cc:1212:12: warning: variable current_time set but not used [-Wunused-but-set-variable]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: