move mysqldump options to the beginning of the command due to MySQL bug 30994. #470
Reference in New Issue
Block a user
Delete Branch ":mysqldump_options"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have added the new options flag for the list databases command to the beginning in #464 for the same reason but have forgot to do so for the mysqldump command.
Some options at mysql and mysqldump commands unfortunately need to be specified as the first option for them to work. See this 14 years old MySQL bug report. Due to the age of the report I don't expect it to be changed anytime soon so I'd like to move the options up in the command sequence. I hope that there are no side-effects but cannot really think of any.
Awesome! Thanks for making this fix!
Just released in borgmatic 1.5.22!