Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.25, 10.6.18, 10.11.8
-
None
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
- is caused by
-
MDEV-33727 mariadb-dump trusts the server and does not validate the data
- Closed
- is duplicated by
-
MDEV-34395 Binary mode import breaks with /*!999999\- enable the sandbox mode */
- Closed