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

Enhance mariadb_upgrade to print failing query in case of error

    XMLWordPrintable

Details

    Description

      A user got the following errors from mariadb-upgrade in MariaDB 10.11:

      ERROR 1267 (HY000) at line 3127: Illegal mix of collations (utf8mb3_unicode_ci,IMPLICIT) and (utf8mb3_general_ci,IMPLICIT) for operation '='

      I cannot find the source of the error as I don't know the query. The line 3127 in
      mysql_fix_privilege_tables_sql.c also does not give me any idea of what is wrong.

      To make it easier to find errors like the above we should enhance mariadb_upgrade to provide the query when something goes wrong when running mariadb_upgrade and it fails in mysql_fix_privilege_tables.

      Attachments

        Activity

          People

            monty Michael Widenius
            monty Michael Widenius
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.