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

MariaDB-specific SQLSTATE

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • N/A
    • None
    • None

    Description

      Looking at this page:
      https://mariadb.com/kb/en/mariadb/mariadb-documentation/sql-language-structure/mariadb-error-codes/

      most errors seems to use the 'HY000' SQLSTATE, which is also used by several MySQL errors.

      I think it would be a bit more informative if such errors have a MariaDB-specific SQLSTATE. For two reasons:
      1) Applications and stored procedures which must handle them, will have a small hint.
      2) If MySQL will use your error codes in a future release, we can distinguish MariaDB errors using the SQLSTATE.

      In case you agree, I have a suggestion: 'MARIA' is a valid SQLSTATE

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            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.