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

Upgrade MariaDB clients with --catalog

    XMLWordPrintable

Details

    Description

      The 'mariadb' client has already support for --catalog

      We should add the --catalog option to all other MariaDB tools using the
      mysql_optionsv(mysql, MARIADB_OPT_CATALOG, catalog);
      call
      (Note that mysql.cc has code to work with client libraries that does not support the
      MARIADB_OPT_CATALOG call. This is there only for developers wanting to know how to
      use catalogs with older client libraries and should not be copied to our other clients).

      Clients to be upgrade:

      • mariadb-admin
      • mariadb-show
      • mariadb-binlog
      • mariadb-dump
      • mariadb-slap
      • mariadb-check
      • mariadb-import
      • mariadb-test
      • mariadb-conv
      • mariadb-plugin
      • mariadb-upgrade
      • Needs to be run for all catalogs
      • We also need to change 'mysql_fix_privilege_tables' to only fix the
        tables that should exists in the catalog:
      • 'def' has all tables
      • all-other, only the catalog specific tables.

      Attachments

        Issue Links

          Activity

            People

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