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

Two indexes are being created when using serial + primary key

    XMLWordPrintable

    Details

      Description

      When issuing a statement like this:

      CREATE TABLE `db`.`table` (`id` serial, PRIMARY KEY (id));

      Two indexes are being created instead of one.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            s13k s13k
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration