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

FLUSH FOR EXPORT: missing error if engine does not support it

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.0.8
    • None
    • None
    • None

    Description

      On MySQL 5.6:

      MySQL [test]> CREATE TABLE t (c INT) ENGINE=MyISAM;
      Query OK, 0 rows affected (0.09 sec)
       
      MySQL [test]> FLUSH TABLES t FOR EXPORT;
      ERROR 1031 (HY000): Table storage engine for 't' doesn't have this option

      On MariaDB 10.0.8:

      MariaDB [test]> CREATE TABLE t (c INT) ENGINE=MyISAM;
      Query OK, 0 rows affected (0.07 sec)
       
      MariaDB [test]> FLUSH TABLES t FOR EXPORT;
      Query OK, 0 rows affected (0.00 sec)

      If FOR EXPORT behaves like in MySQL, an error should be issued...

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.