Merge pull request #1198 from EQEmu/akkadius/fix-mysqldump-buffer-allocation-edge-case

[Bugfix] Fix MySQL Dump Buffer Allocation
This commit is contained in:
Chris Miles 2021-01-29 23:51:19 -06:00 committed by GitHub
commit 396c300315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,8 +300,7 @@ void DatabaseDumpService::Dump()
config->DatabaseUsername
);
std::string options = "--allow-keywords --extended-insert";
std::string options = "--allow-keywords --extended-insert --max-allowed-packet=1G --net-buffer-length=32704";
if (IsDumpWithNoData()) {
options += " --no-data";
}