diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-09-23 14:17:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-09-23 14:17:33 +0200 |
commit | fff12eafdf971e88ff9b3abe2c6e0a62e050b450 (patch) | |
tree | 24c97df30c09eafec3474053f72dcc8694655e2b /src/server/database | |
parent | f3b8503ba60714f657412e338f34fc1af9262491 (diff) |
Core/Common: Catch and log child process creation errors
Diffstat (limited to 'src/server/database')
-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) |