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

Inconsistent documentation on AUTO_INCREMENT

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • N/A
    • N/A
    • Documentation
    • None
    • online documentation

    Description

      The MariaDB page for AUTO_INCREMENT (https://mariadb.com/kb/en/mariadb/auto_increment/) says that the AUTO_INCREMENT column in a table "must be the PRIMARY KEY or a UNIQUE key." But the AUTO_INCREMENT FAQ page (https://mariadb.com/kb/en/mariadb/autoincrement-faq/) says "it only has to be indexed. It doesn't even have to be unique."

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            libcub Paul Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.