MySQL-AutoXtraBackup
MySQL-AutoXtraBackup copied to clipboard
DryRun causes UnboundLocalError: local variable 'status' referenced before assignment
Finding on master: error thrown here: https://github.com/ShahriyarR/MySQL-AutoXtraBackup/blob/72ca0a834f12331c3ed8cde17ea77a8ce573a774/backup_prepare/prepare.py#L630
caused/impacted by the following line in case dryrun! https://github.com/ShahriyarR/MySQL-AutoXtraBackup/blob/72ca0a834f12331c3ed8cde17ea77a8ce573a774/backup_prepare/prepare.py#L539
Assumtion: some "else" for dryrun should initialize status (status not initialzed for dry-run)!
regards Werner
@WernerMairl As I have released version 2.0, this error should not be encountered anymore. Could you please check out out the latest version of our tool? Thanks :)