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

Sandbox mode \- is not compatible with --binary-mode

    XMLWordPrintable

Details

    Description

      Latest MariaDB prepends sandbox mode enable command in the dumps:

      $ mysqldump database_name | head -n 1
      /*!999999\- enable the sandbox mode */
      

      Dump with this prefix can not be restored when `--binary-mode` flag is used:

      $ mysqldump database_name | mysql --binary-mode another_db
      ERROR at line 1: Unknown command '\-'.
      

      Is there a way to opt-out of sandbox mode when creating a dump?

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              fln Julius
              Votes:
              0 Vote for this issue
              Watchers:
              8 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.