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

Remove old logic for 3.23-to-higher upgrades from upgrade SQL scripts

Details

    Description

      Scripts used for upgrade (e.g. mysql_system_tables_fix.sql) use ancient logic implemented for upgrades from very old versions, such as 3.23. It cannot stay there forever, the scripts grow complicated, and modification of them becomes error-prone. Since it is unrealistic to expect anyway, that live upgrade from such an old version would work, some clean-up is needed.

      See MDEV-6068 for an example of such logic.

      Also they can be simplified by using compound statements.

      Attachments

        Issue Links

          Activity

            nirbhay_c Nirbhay Choubey (Inactive) added a comment - https://github.com/MariaDB/server/commit/5e6f12366abb02143ef57b6ff99285d81e3b3a36
            nirbhay_c Nirbhay Choubey (Inactive) added a comment - Addendum : http://lists.askmonty.org/pipermail/commits/2015-March/007621.html

            ok to push

            serg Sergei Golubchik added a comment - ok to push

            We should allow easy data migration between any MariaDB versions.

            We now have people trying to move from MySQL 4.1 -> 10.1 and things fails as system tables are not converted.

            Please revert this task

            monty Michael Widenius added a comment - We should allow easy data migration between any MariaDB versions. We now have people trying to move from MySQL 4.1 -> 10.1 and things fails as system tables are not converted. Please revert this task
            nirbhay_c Nirbhay Choubey (Inactive) added a comment - monty I have opened https://mariadb.atlassian.net/browse/MDEV-9026 for this.

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.