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

Remove InnoDB INFORMATION_SCHEMA.FILES implementation

Details

    • 10.1.20

    Description

      MySQL 5.7 introduced WL#7943: InnoDB: Implement Information_Schema.Files to provide a long-term alternative for accessing tablespace metadata. The INFORMATION_SCHEMA.INNODB_* views are considered internal interfaces that are subject to change or removal between releases. So, users should refer to I_S.FILES instead of I_S.INNODB_SYS_TABLESPACES to fetch metadata about CREATE TABLESPACE.

      Because MariaDB 10.2 does not support CREATE TABLESPACE or CREATE TABLE…TABLESPACE for InnoDB, it does not make sense to support I_S.FILES either. So, let MariaDB 10.2 omit the code that was added in MySQL 5.7. After this change, I_S.FILES will report the empty result, unless some other storage engine in MariaDB 10.2 implements the interface. (This interface was originally created for the NDB Cluster.)

      Attachments

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            ratzpo Rasmus Johansson (Inactive) made changes -
            Field Original Value New Value
            Rank Ranked higher
            ratzpo Rasmus Johansson (Inactive) made changes -
            Sprint 10.1.20 [ 119 ]
            marko Marko Mäkelä made changes -
            Description MySQL 5.7 introduced [WL#7943|WL#7943: InnoDB: Implement Information_Schema.Files] to provide a long-term alternative for accessing tablespace metadata. The INFORMATION_SCHEMA.INNODB_* views are considered internal interfaces that are subject to change or removal between releases. So, users should refer to I_S.FILES instead of I_S.INNODB_SYS_TABLESPACES to fetch metadata about CREATE TABLESPACE.

            Because MariaDB 10.2 does not support CREATE TABLESPACE or CREATE TABLE…TABLESPACE for InnoDB, it does not make sense to support I_S.FILES either. So, let MariaDB 10.2 omit the code that was added in MySQL 5.7. After this change, I_S.FILES will report the empty result, unless some other storage engine in MariaDB 10.2 implements the interface. (This interface was originally created for the NDB Cluster.)
            MySQL 5.7 introduced [WL#7943: InnoDB: Implement Information_Schema.Files|http://dev.mysql.com/worklog/task/?id=7943] to provide a long-term alternative for accessing tablespace metadata. The INFORMATION_SCHEMA.INNODB_* views are considered internal interfaces that are subject to change or removal between releases. So, users should refer to I_S.FILES instead of I_S.INNODB_SYS_TABLESPACES to fetch metadata about CREATE TABLESPACE.

            Because MariaDB 10.2 does not support CREATE TABLESPACE or CREATE TABLE…TABLESPACE for InnoDB, it does not make sense to support I_S.FILES either. So, let MariaDB 10.2 omit the code that was added in MySQL 5.7. After this change, I_S.FILES will report the empty result, unless some other storage engine in MariaDB 10.2 implements the interface. (This interface was originally created for the NDB Cluster.)
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            While doing this, I also fixed some broken (skipped or disabled) tests in --suite=innodb_zip. I imported some missing .inc files from MySQL 5.7.

            marko Marko Mäkelä added a comment - While doing this, I also fixed some broken (skipped or disabled) tests in --suite=innodb_zip. I imported some missing .inc files from MySQL 5.7.
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Jan Lindström [ jplindst ]
            Status In Progress [ 3 ] In Review [ 10002 ]

            Looks correct to me and good that we have those innodb_zip suite test back there.

            jplindst Jan Lindström (Inactive) added a comment - Looks correct to me and good that we have those innodb_zip suite test back there.
            jplindst Jan Lindström (Inactive) made changes -
            Assignee Jan Lindström [ jplindst ] Marko Mäkelä [ marko ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2016-12-01 11:19:28.0 2016-12-01 11:19:28.712
            marko Marko Mäkelä made changes -
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            GeoffMontee Geoff Montee (Inactive) made changes -
            GeoffMontee Geoff Montee (Inactive) made changes -
            marcomarsala Marco Marsala added a comment -

            It also fixes a security issue related tothis table

            marcomarsala Marco Marsala added a comment - It also fixes a security issue related tothis table
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 78542 ] MariaDB v4 [ 133052 ]
            marko Marko Mäkelä made changes -

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              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.