[MDEV-28911] Add --init-command option to mariadb-dump / mysqldump Created: 2022-06-02 Updated: 2022-06-20 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Anders Karlsson | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | beginner-friendly | ||
| Description |
|
The ability to run a command before starting the actual dump in mariadb-dump, similar to how this work with the mariadb console. One obvious use for this is to be able to dump data in another SQL_MODE than what is globally configured, but there are other session variables that you might want to adjusted when running the dump. |