From 9179c59b50ddf1a8e11817924df7f589a76500b4 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 24 Jun 2010 16:18:44 +0200 Subject: mysql: don't lock tables in the information_schema database (Closes: #587011) --- handlers/mysql.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'handlers') diff --git a/handlers/mysql.in b/handlers/mysql.in index 4dece24..68d5197 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" -- cgit v1.2.3