diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-09-14 14:45:40 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-09-16 17:32:15 +0200 |
commit | ec85afdbc7b37f68df8ce74c42649e82ac35b4c1 (patch) | |
tree | 1e112d5636efea7bc4fd63eb80da048e81f03490 /src/server/database/Updater/DBUpdater.cpp | |
parent | 085aadea36c6f3341aa5e3925aae23e4b07ec8ca (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/DBUpdater.cpp')
-rw-r--r-- | src/server/database/Updater/DBUpdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 3a75d90d547..ac7be7cb69b 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -423,7 +423,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) |