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

The partition engine does not call check_if_supported_inplace_alter.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.10
    • Fix Version/s: 10.0.12
    • Component/s: None
    • Labels:
      None

      Description

      This probably was because all engines currently supporting partitioning do not support in place alter. However, this is wrong for engines that do support in place alter.

      For instance when doing:

      alter table partinp add index XID(id);
      alter table partinp drop index XID;

      the data of CONNECT outward tables is modified (all rows are doubled)

      Although it was possible to avoid this, calling check_if_supported_inplace_alter should be done to avoid unnecessary and time consuming operations.

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            bertrandop Olivier Bertrand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: