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

scripts/mysql_system_tables_fix.sql to use alter table add/drop.. if exists/if not exists

    XMLWordPrintable

Details

    Description

      ALTER TABLE ADD key/column IF NOT EXIST and ALTER TABLE DROP key/column IF EXISTS have been around since 10.0.2

      scripts/mysql_system_tables_fix.sql statements don't include the existence checks.

      The upgrade script should use them to reduce the errors in the log file of sql_error_log-plugin and just generally using the features available of MariaDB server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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