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

Improve INFORMATION_SCHEMA.PARAMETERS for TYPE OF columns

    XMLWordPrintable

Details

    Description

      As of MariaDB 11.7.2 in the INFORMATION_SCHEMA.PARAMETERS table, parameters of stored procedures defined as TYPE OF another_column are simply reported as "TYPE OF" in the DATA_TYPE column:

      In the DTD_IDENTIFIER column there is the full reference, like: TYPE OF "db"."table"."column".

      For tools to be able to get the type of the parameter, I think that in the DATA_TYPE column the underlying native SQL type should be reported. Otherwise tools would be forced to parse the whole schema to be able to infer the type of a TYPE OF parameter.

      Btw. TYPE OF and ROW TYPE OF are an awesome feature!

      Attachments

        Activity

          People

            bar Alexander Barkov
            louis77 Louis Brauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.