mysql: don't lock tables in the information_schema database (Closes: #587011)

This commit is contained in:
intrigeri 2010-06-24 16:18:44 +02:00
parent 6e2a9468cf
commit 9179c59b50
2 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -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"