diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-09-23 14:17:33 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-09-23 21:18:50 +0200 |
commit | 9e661e8e1c372cb88c64203af45a5e60b3acec41 (patch) | |
tree | 95b6aec0b8070ebc374970518991a7ca83f9c201 /src/server/database/Updater/DBUpdater.cpp | |
parent | 7a4c8d69fc0df5ebfae2b9bbafe8f7c76f241417 (diff) |
Core/Common: Catch and log child process creation errors
(cherry picked from commit fff12eafdf971e88ff9b3abe2c6e0a62e050b450)
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 ac7be7cb69b..462d345fcda 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(), std::move(args), + int32 const ret = Trinity::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), std::move(args), "sql.updates", "", true); if (ret != EXIT_SUCCESS) |