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

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                • Created:
                  Updated: