Commit Graph
2 Commits
Author SHA1 Message Date
Karrz1 7d4fc187c2 Realm: warn when an also-accepted build has no build_info row; custom SQL no longer hidden from git
Realm.AlsoAcceptBuilds lets a client build in, but the login also needs that build's auth build_info row, which comes from sql/custom/auth/*_auth_classic_<build>.sql. A repack with the auth updates turned off never gets it and the login fails with nothing in the log (asked on 2026-11-14 about 70938). The realm list now logs an error for each listed build without a row.

sql/custom/{auth,characters,hotfixes,world}/.gitignore ignored *.sql (from upstream), so a new custom file was left out of a commit unless added with -f: it happened to the 70888 and the 70938 auth rows. Every custom file here ships, so nothing is ignored now.
2026-11-14 08:07:57 +00:00
Naios 352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00