aboutsummaryrefslogtreecommitdiff
path: root/src/server/database
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-09-23 14:17:33 +0200
committerShauren <shauren.trinity@gmail.com>2024-09-23 14:17:33 +0200
commitfff12eafdf971e88ff9b3abe2c6e0a62e050b450 (patch)
tree24c97df30c09eafec3474053f72dcc8694655e2b /src/server/database
parentf3b8503ba60714f657412e338f34fc1af9262491 (diff)
Core/Common: Catch and log child process creation errors
Diffstat (limited to 'src/server/database')
-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 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)