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

RENAME on a SEQUENCE table should raise an error

    XMLWordPrintable

Details

    Description

      SEQUENCE tables are not renamed, but the RENAME statement doesn't raise any errors/warnings:

      MariaDB [test]> RENAME TABLE seq_1_to_5 TO abc;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> SELECT * FROM abc;
      ERROR 1146 (42S02): Table 'test.abc' doesn't exist

      Attachments

        Activity

          People

            serg Sergei Golubchik
            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.