Details

    Description

      The feature introduces simplified workflow:

      FLUSH TABLES t1 FOR EXPORT;
      --copy_file $MYSQLD_DATADIR/test/t1.cfg $MYSQLD_DATADIR/test/t2.cfg
      --copy_file $MYSQLD_DATADIR/test/t1.frm $MYSQLD_DATADIR/test/t2.frm
      --copy_file $MYSQLD_DATADIR/test/t1.ibd $MYSQLD_DATADIR/test/t2.ibd
      UNLOCK TABLES;
      ALTER TABLE t2 IMPORT TABLESPACE;
      

      Previously, CREATE TABLE and ALTER TABLE…DISCARD TABLESPACE had to be executed, and the exact table definition from an existing .frm file could not be reused. This simplification addresses MDEV-15225.

      ha_innodb::open() should check for .ibd and .cfg files before actually opening a table.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Yuchen Pei made transition -
            Open In Progress
            569d 9h 19m 1
            Yuchen Pei made transition -
            In Progress In Review
            17d 19h 29m 1
            Yuchen Pei made transition -
            In Review In Testing
            22m 21s 1
            Yuchen Pei made transition -
            Stalled In Review
            15d 20m 8
            Marko Mäkelä made transition -
            In Review Stalled
            21d 7h 14m 8
            Matthias Leich made transition -
            Stalled Stalled
            39d 16h 1m 1
            Sergei Golubchik made transition -
            Stalled In Testing
            36d 1h 47m 3
            Matthias Leich made transition -
            In Testing Stalled
            1d 10h 39m 3
            Yuchen Pei made transition -
            Stalled Closed
            20d 9h 58m 1

            People

              ycp Yuchen Pei
              kevg Eugene Kosov (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              13 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.