| Age | Commit message (Collapse) | Author |
|
last of them caused by this area of the core.
|
|
possible desyncrhonisation issue when DatabaseWorkerPool calls wait() on the workers.
|
|
authserver and worldserver. Prevent multiple calls and make it more elegant.
|
|
Databaseworkerpool queue.
|
|
- Implement DatabaseWorkerPool::DirectCommitTransaction for synchronous transaction execution (as opposed to asynchronous/enqueued).
- Add MySQL errno 1213 "Deadlock found when trying to get lock; try restarting transaction" handler. If 1213 is called the core will retry to directly execute the transaction a maximum of 5 times.
|
|
|
|
crash caused by assertion failure.
("Could not fetch prepared statement 54 on database `characters`, connection type: asynchronous.")
|
|
|
|
explicit calls to MySQL::PrepareStatement. Now the core will show the raw query (without bound arguments) in related log entries instead of PreparedStatement id: X on database Y.
|
|
|
|
Happy new year.
|
|
Core/AuraScript:
Fix compile time check for AuraScript functions
Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.
--HG--
branch : trunk
|
|
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
- Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations
WARNING: Backup your database!
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
extra : rebase_source : 40f72a7b78daedb90351f36de575b3fa7e57fcbf
|
|
because of inconsistent naming)
--HG--
branch : trunk
|
|
headers in the shared PCH-file (already included from Common.h)
--HG--
branch : trunk
|
|
prepared statement format as well.
+ Cleanup and documentation
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
saving. Closes issue #5239.
DB schema: Sorted out a discrepancy in respawn time column format.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
|
|
Thanks to .. someone (webmaster?)
Fixes issue 4191.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Patch by click.
--HG--
branch : trunk
|
|
query-correctness) to handled errno´s (=doesn´t require further actions from the core)
--HG--
branch : trunk
|
|
(16b->10b)
--HG--
branch : trunk
|
|
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
of explicit string queries
Also possibly fix an absolutely useless warning on GCC
--HG--
branch : trunk
|
|
- Add generic HandleMySQLErrno() method.
- Add the ability to re-execute a certain statement if errorhandler resolved the situation succesfuly.
- Add support for MySQL errno´s 2006, 2013, 2048, 2055 - fixes automatic reconnection behaviour.
- Cleanup in affected code
NOTE: You should still be smart enough to configure your worldserver and authserver´s MaxPingTime to be lower than your MySQL´s wait_time.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Update issue #4550
Please try to re-reproduce
--HG--
branch : trunk
|
|
synchronous. Fixes a crash introduced in bd30ad7bd3
--HG--
branch : trunk
|
|
(deleting SQLOperation objects)
--HG--
branch : trunk
|
|
connections and vice versa. Prevents allocating RAM that will never be used.
--HG--
branch : trunk
|
|
character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them.
As a side effect moved related queries to prepared statements.
As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14).
--HG--
branch : trunk
|
|
Closes issue #5095
--HG--
branch : trunk
|
|
WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
for executing queries in a diverse context (transaction or non transaction) - instead of local to Guild.cpp
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
and used it where appropriate (plus fixed some other warnings).
NOTE: Initially I just wanted to fix some warnings, but noticed that there is no common method for percentage calculation and various formulas are used many time in the code making it difficult to read and understand what the code actually does. So, I introduced several template methods for calculating percent values and adding those values to the original base. I replaced all the raw calculations throughout the code where found, but I could have missed something or could have made a mistake. So, please report any strange behaviour after this commit.
If you ask me why I did it: for the sake of consistency and exact understanding what code means. If you see CalculatePct method, you clearly understand, that it find the value of x percent of y. And you can easily express, for example, spell behviour "reduces smth by x%" by the means of a method instead of recalling school maths.
--HG--
branch : trunk
|
|
--HG--
branch : trunk
|
|
Closes issue #5044
--HG--
branch : trunk
|