aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Updater/DBUpdater.cpp
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2016-07-23 03:37:09 +0200
committerGitHub <noreply@github.com>2016-07-23 03:37:09 +0200
commit09a1cfdf771a093b21779990ee516c22f66f4255 (patch)
tree96efe901a29629e920b187e3f0f8200fceb80ea0 /src/server/database/Updater/DBUpdater.cpp
parent5a550f9418483eb429a9953ed1ea4cf29620ace5 (diff)
Core/Updater: Clarify even more this error
Diffstat (limited to 'src/server/database/Updater/DBUpdater.cpp')
-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 c85e3797569..8515da9f6f8 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -383,7 +383,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");