aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Updater
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-09-14 14:45:40 +0200
committerShauren <shauren.trinity@gmail.com>2025-04-13 19:05:27 +0200
commit25be3cdc3b2b8d3410800c0934a697f00e264394 (patch)
tree120af40dbc8222dbff8d965eec965ccba415f2c7 /src/server/database/Updater
parentbbc8e2213b4b49e0a0c59cf2d82c5fa17cfcffeb (diff)
Core/Common: Output stdout/stderr from child process without waiting for it to finish
(cherry picked from commit f270686201c84a07f67a9615fd610d917fc8f802)
Diffstat (limited to 'src/server/database/Updater')
-rw-r--r--src/server/database/Updater/DBUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp
index 465120dd3bf..bd34ba4f211 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -391,7 +391,7 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
args.emplace_back(database);
// Invokes a mysql process which doesn't leak credentials to logs
- int const ret = Trinity::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), args,
+ int const ret = Trinity::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), std::move(args),
"sql.updates", "", true);
if (ret != EXIT_SUCCESS)