Don't lock tables.

This commit is contained in:
flash 2021-01-31 01:26:38 +01:00
parent f3c9bc18b2
commit 44b80b9707

View file

@ -233,8 +233,9 @@ namespace BackupManager {
mysqldumpArgs.Append(@"--tz-utc --triggers ");
mysqldumpArgs.Append(@"--routines --hex-blob ");
mysqldumpArgs.Append(@"--add-locks --order-by-primary ");
mysqldumpArgs.Append(@"--skip-lock-tables "); // might regret this, we'll find out someday
mysqldumpArgs.AppendFormat(@"--result-file={0} ", sqldump);
mysqldumpArgs.Append(@"-l -Q -q -B "); // lock, quote names, quick, database list
mysqldumpArgs.Append(@"-Q -q -B "); // lock, quote names, quick, database list
mysqldumpArgs.Append(database);
#if DEBUG