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

port Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC

Details

    Description

      InnoDB defines some functions that are not called at all. Other functions are called, but only from the same compilation unit.

      Remove some function declarations and definitions, and add 'static' keywords. Some symbols must be kept for separately compiled tools, such as innochecksum.

      Also, port the follow-up by Jon Olav Hauglid:

      Bug#21153166: REMOVE UNUSED VARIABLES AND CONVERT GLOBAL SYMBOLS TO STATIC

      Follow-up to
      Bug#21141390: REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC
      but for variables instead of functions.

      Was identified with the -Wmissing-variable-declarations
      compiler warning option supported by Clang 3.6.

      Attachments

        People

          marko Marko Mäkelä
          ratzpo Rasmus Johansson (Inactive)
          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.