fix(Core/DBUpdater): disable exception throwing for dryrun (#22610)
This commit is contained in:
@@ -517,7 +517,8 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
|
|||||||
"If you are a developer, please fix your sql query.",
|
"If you are a developer, please fix your sql query.",
|
||||||
path.generic_string(), pool.GetConnectionInfo()->database);
|
path.generic_string(), pool.GetConnectionInfo()->database);
|
||||||
|
|
||||||
throw UpdateException("update failed");
|
if (!sConfigMgr->isDryRun())
|
||||||
|
throw UpdateException("update failed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user