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

Request: more flexible SHOW CREATE TABLE

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.2
    • Component/s: None
    • Labels:
      None

      Description

      Suppose I want to recover a table which does not exist anymore from an old physical backup. With MyISAM it's amazingly easy, but with InnoDB I need to re-create an empty table first, and maybe I don't know the table definition.

      So, would it be possible to make SHOW CREATE TABLE work even if "table doesn't exist in engine"? I hope that .frm contains sufficient information to do this.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            Yes, that's doable

            Show
            serg Sergei Golubchik added a comment - Yes, that's doable

              People

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

                Dates

                • Created:
                  Updated: