Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1279

metadata table name addition for 12.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.5.6
    • metadata
    • None

    Description

      MariaDB 12.1 introduced a change to constraint naming behavior through MDEV-28933. This modification affects metadata queries that rely on joins between INFORMATION_SCHEMA.KEY_COLUMN_USAGE and INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS tables.

      Previously, joins could be performed using only the three columns: CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, and CONSTRAINT_NAME. However, due to this change, queries must now include TABLE_NAME as an additional join condition to ensure accurate results.
      This breaking change specifically impacts the following metadata operations:

      • getExportedKeys()
      • getImportedKeys()
      • getCrossReference()

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.