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

Likely a redundant declaration of Item_cache::used_table_map

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5(EOL), 10.0(EOL), 10.1(EOL)
    • 5.5.44
    • OTHER
    • None

    Description

      According to these declarations:

      class Item_basic_constant :public Item
      {
        table_map used_table_map;
        ...
      };
      ...
      class Item_cache: public Item_basic_constant
      {
      protected:
        Item *example;
        table_map used_table_map;
      ...
      }

      Item_cache has two used_tables_cache, one of which is declared in Item_cache itself, and another one is derived from Item_basic_constant.

      It's very likely that the second declaration is not really necessary.

      Attachments

        Activity

          People

            bar Alexander Barkov
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.