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

mysqldump --tables --routines generates non importable dump file

    Details

      Description

      When exporting some views and routines together (to separate manually and automatically managed parts of a schema) with `mysqldump ... --routines --tabels table1 table2 ...` I noticed that the generated dump-file is not importable again, because the routines are ordered after all the tables/ views and thus views that use them cannot be imported.

      I have attached a test dump that I generated that shows this problem.

      Workaround: Using negative logic and instead listing all the tables/views to skip seems to not trigger this bug.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rutuja Rutuja Surve
                Reporter:
                dwt Martin Häcker
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: