aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2016-07-23 03:37:09 +0200
committerjackpoz <giacomopoz@gmail.com>2016-08-10 17:57:18 +0200
commitb71a3c27669dd90c20dadfd84843ca2b02315ac8 (patch)
tree7884db195d9dbb7b523cce2029de2e68b282ec70 /src
parentbe51db3ae1a62ba61a4156db056b0562f28bbe34 (diff)
Core/Updater: Clarify even more this error
(cherry picked from commit 09a1cfdf771a093b21779990ee516c22f66f4255)
Diffstat (limited to 'src')
-rw-r--r--src/server/database/Updater/DBUpdater.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp
index ee63e6f9d08..72f6b4e6606 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -415,7 +415,10 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
if (ret != EXIT_SUCCESS)
{
TC_LOG_FATAL("sql.updates", "Applying of file \'%s\' to database \'%s\' failed!" \
- " If you are a user, pull the latest revision from the repository. If you are a developer, fix your sql query.",
+ " If you are a user, please pull the latest revision from the repository. "
+ "Also make sure you have not applied any of the databases with your sql client. "
+ "You cannot use auto-update system and import sql files from TrinityCore repository with your sql client. "
+ "If you are a developer, please fix your sql query.",
path.generic_string().c_str(), pool.GetConnectionInfo()->database.c_str());
throw UpdateException("update failed");