Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-876

Renaming a table in non-current database fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.10
    • 1.2.0
    • DDLProc
    • None
    • Centos 7

    Description

      When trying to rename a table in a database that is not active (via USE), rename attempts to use the current database instead. eg:

      CREATE TABLE IF NOT EXISTS data.blah (
      `EntryID` BIGINT(20) UNSIGNED NOT NULL
      ) ENGINE=columnstore;

      USE test;

      RENAME TABLE data.blah TO data.blah2;

      generates the error

      Internal error: CAL0001: Alter table Failed: IDB-2006: 'test.blah' does not exist in Columnstore.

      Effectively ignoring the database name (data in this care) in the Rename table statement.

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              mattminix Matthew Minix
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.