fix(Core/DBUpdater): disable exception throwing for dryrun (#22610)
This commit is contained in:
parent
8a5098861e
commit
5717cd358c
1 changed files with 2 additions and 1 deletions
|
|
@ -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.",
|
||||
path.generic_string(), pool.GetConnectionInfo()->database);
|
||||
|
||||
throw UpdateException("update failed");
|
||||
if (!sConfigMgr->isDryRun())
|
||||
throw UpdateException("update failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue