UPDATE YOUR CONFIGS!
Defaults:
LoginDatabaseConnections = 1
WorldDatabaseConnections = 1
CharacterDatabaseConnections = 1
If you are not using <mtmaps> patch do not change the default settings - this is useless. You can try following option in your MySQL config to squeeze even more performance from your DB:
[mysqld]
transaction-isolation = READ-COMMITTED
Great thanks to Undergarun, kero99 and selector for making tests and providing very useful feedback and DB statistics! Have fun :)
Signed-off-by: Ambal <pogrebniak@gala.net>
ASSERT hard use in predictable way because diff. 3rd party libs code
redefine it inf different ways and hard make sure that used in end
of mangos define version. This is real detected problem make some
expected assert checks ignored and so bugs not detected as expected from code.
In addition made related changes:
* Common.h header expected to be first include in any src/game/header except most simple cases.
* Related FILE.h header expected to be first include in FILE.cpp
* Fixed some absent includes and type forwards for safe build without PCH enabled.
* Avoid using MANGOS_ASSERT in src/framework code
NOTE: all config versions update because in old state
it's not compatible with new way loading.
Look for *.conf.dist.in chnages in commit for update configs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Note: it not applied to crashes and shutdowns after mangosd/relamd startup completed.
You can continue without delay (as now) and fast exist, or wait <Enter>, or some secs
for continue. Last can be helpful for see for example not applied sql update revision
data and etc.
* Rename `realmlist`.`color` field to `realmflags`
* Client 2.x and later support show in realm list supported
client version for specific realm.
For client 1.x this implemented by adding version to name
in similar way as it look in more recent clients.
For enable version show each affected realm must have in `realmflags` set
flag 4.
For realm work with not officially supported builds (build > last suported)
will show version 0.0.0 and correct build value.
Change done for consistence with 'mangos' created in sql/create_mysql.sql
NOTE: for secirity reason better not use this user name (and password)
in real configs/MySQL.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>