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

CONNECT and ALTER TABLE: real behavior != documentation

    Details

      Description

      In this page:

      https://mariadb.com/kb/en/mariadb/documentation/storage-engines/connect/connect-table-types/inward-and-outward-tables/

      I read:

      "Translating a CONNECT table to another engine is fine but the opposite is forbidden when the target CONNECT table is not table based or when its data file exists"

      I tried ALTER TABLE ... ENGINE = ? in both directions (from and to CONNECT) with both file-based inward/outward tables. It always works: no errors, data is not damaged.

      Maybe the documentation is not updated?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            greenman Ian Gilfillan added a comment -

            Can you give an example of this? When I try this, for example to ALTER an Aria table to CONNECT when the data file exists, I get "ERROR 1105 (HY000): Operation denied. Table data would be lost." which is the expected, documented behaviour.

            Show
            greenman Ian Gilfillan added a comment - Can you give an example of this? When I try this, for example to ALTER an Aria table to CONNECT when the data file exists, I get "ERROR 1105 (HY000): Operation denied. Table data would be lost." which is the expected, documented behaviour.
            Hide
            greenman Ian Gilfillan added a comment -

            Closing as can't repeat

            Show
            greenman Ian Gilfillan added a comment - Closing as can't repeat

              People

              • Assignee:
                greenman Ian Gilfillan
                Reporter:
                f_razzoli Federico Razzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: