Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4108

Compilation warnings with RelWithDebInfo only present in the Galera tree

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.5.28a-galera
    • 5.5.34-galera
    • None
    • Ubuntu 11.10 x86_64, gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1, cmake version 2.8.5

    Description

      Please check if any of these can/should be fixed.

      client/mysqldump.c: In function 'print_xml_row':
      client/mysqldump.c:1917:11: warning: variable 'body_found' set but not used [-Wunused-but-set-variable]
       
      sql/handler.cc: In function 'int ha_commit_trans(THD*, bool)':
      sql/handler.cc:1278:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       
      sql/sql_table.cc: In function 'bool mysql_alter_table(THD*, char*, char*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, uint, ORDER*, bool, bool)':
      sql/sql_table.cc:6251:10: warning: unused variable 'do_log_write' [-Wunused-variable]

      revision-id: sergii@pisem.net-20121220113437-x6wi7x1taracdrdn
      revno: 3365
      branch-nick: maria-5.5-galera

      Built as
      cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make

      Attachments

        Activity

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.