diff --git a/ChangeLog b/ChangeLog index 5de8552320c4595142bd7332ac428ba14d1a9e89..8dec95c5ddaa9d83334d8e56db1e856be0ad9a08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,9 @@ version 0.9.8 -- UNRELEASED . Better example.dup documentation. Thanks, Alster! . Added ftp_password option to securely transmit the FTP password from backupninja to duplicity. + mysql: + . Don't lock tables in the information_schema database + (Closes: #587011) doc changes manpage: . Fix typo in manpage (Closes: #583778) diff --git a/handlers/mysql.in b/handlers/mysql.in index 4dece247d1b9265c59343100688d2c5955c4a56d..68d51978b2b3bcd8af389240a0b2cfdfad7bd546 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -255,6 +255,10 @@ then for db in $databases do DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions" + if [ "$db" = "information_schema" ] + then + DUMP_BASE="${DUMP_BASE} --skip-lock-tables" + fi # Dumping structure and data DUMP="$DUMP_BASE $ignore $db"