Revert feat(core): Start Process and DBUpdater (#13465)

Revert "feat(CORE): for Start Process and  DBUpdater

This a selective reverts for commits:
c855e8d227 and  636df19514. To re-enable the windows build to function again while applying updates.

Update DBUpdater.cpp
This commit is contained in:
M'Dic
2022-10-20 01:43:34 -04:00
committed by GitHub
parent 1fe126766f
commit e836f08cc4
3 changed files with 13 additions and 17 deletions

View File

@@ -501,11 +501,9 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
if (!database.empty())
args.emplace_back(database);
auto env = boost::process::environment();
// Invokes a mysql process which doesn't leak credentials to logs
int const ret = Acore::StartProcess(DBUpdaterUtil::GetCorrectedMySQLExecutable(), args,
"sql.updates", "", true, env);
"sql.updates", "", true);
if (ret != EXIT_SUCCESS)
{