Open BigAndini opened 2 years ago
I don't understand; why not? If it is two different arms of the if
statement, then it is either used in one place or the other?
Can you describe an example case that would trigger a problem, and how that manifests itself?
https://github.com/databacker/mysql-backup/blob/master/functions.sh#L126-L157
The DB_NAMES variable which is used when create SINGLE_DATABASE dumps is built up in the other arm of the if statement and cannot be used in line 149. This leads to some usage failure in mysqldump within the container.