Antz
1392c131e7
Apply style fix pt2
2020-02-17 12:13:00 +00:00
Antz
35405dd549
Apply style fix
2020-02-17 12:12:59 +00:00
Antz
901d97f2d0
Happy New Year 2020 from everyone at getMangos.eu 🎉
2020-02-17 12:12:53 +00:00
Antz
25fac44c28
Happy New Year 2019 from everyone at getMangos.eu 🎉
2020-02-17 12:12:42 +00:00
Antz
87eb505de5
Update missed year changes
2020-02-17 12:12:29 +00:00
Antz
aa6ed817d8
🎉 Happy 2017 from everyone at getmangos.eu
2020-02-17 12:11:13 +00:00
Antz
952042cc56
Happy New Year 2016 and URL update
2020-02-17 12:08:28 +00:00
Antz
fdefc0869a
[Rel21] Stage 1 of updates for Rel21 Build System
2020-02-17 12:07:03 +00:00
Antz
12257a5bc2
Second set of Moves and Year update
2020-02-17 09:22:48 +00:00
Antz
f1c9e0f94b
[Sync] Project header sync
2020-02-17 09:22:26 +00:00
Antz
1997c1e903
Rebase resync
2020-02-17 09:19:44 +00:00
billy1arm
ef445ea523
[12632] Revert previous commit (see Notes)
2020-02-17 00:54:15 +00:00
Schmoozerd
a27787851c
[c12537] Update Authorship information
...
(based on commit [12388] - 037f217)
Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a
[c12536] Happy New Year 2013
...
Update authorship information and prepare for easier ways next year
Signed-off-by: Schmoozerd <schmoozerd@cmangos>
(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Machiavelli
21a3ee9267
[12079] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls since this check is done implicitly when deleting
...
Signed-off-by: stfx <stfx@hotmail.de>
2012-08-03 14:30:18 +02:00
stfx
3707b04330
[12066] Optimize some parts for ++C
2012-07-21 17:15:11 +02:00
Schmoozerd
e32b9953a1
Cleanup Operator padding
2012-07-20 17:38:23 +02:00
Schmoozerd
c334cd5ea4
Various Cleanups (shared/Database/)
2012-07-19 21:57:32 +02:00
Schmoozerd
8068dcf6dd
[11875] Update Copyright notice to year 2012
...
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Ambal
40ef9cbf2f
[11284] Implement prepared statements for INSERT+DELETE+UPDATE SQL requests. Should improve player save performance + lower MySQL server CPU usage.
...
Note: PostgreSQL does not have prepared statements implemented using native APIs.
Huge thanks to Undergarun, kero99 and Vinolentus.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-03-25 22:17:59 +02:00
Ambal
631ce36680
[11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate connections for sync and async DB requests. Implement database connection pool for SELECT queries. Up to maximum 16 connections supported. Disable 'autocommit' mode for MySQL.
...
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>
2011-01-19 22:05:20 +02:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
Ambal
af66b470a8
[10865] Make DB code thread-safe. Original patch by Machiavelli and Kero99.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-12-12 11:34:57 +02:00
VladimirMangos
abc6dfca98
[10792] Fixed warnings and need in redundent char* casts in database access code.
2010-11-29 00:47:11 +03:00
DasBlub
9eaf4beae7
[9234] Remove redundent typecast.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-22 01:07:26 +03:00
VladimirMangos
fe6e2e1746
[9122] Updated copyright notice for new year.
...
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
DasBlub
ebb063beb9
[9107] Fix most of the gcc warnings
...
* use UI64FMTD instead of "%u" for uint64 output
* on most *NIX systems, I64FMT is "%016lX" and not "%016llX"
* also fix typo: renamed GridMap::loadHeihgtData to GridMap::loadHeightData
Note: there are still many warnings from the 3rd party libraries g3dlite and ACE. Those warnings won't be fixed with that commit.
Also, a few warnings from MaNGOS are left, they'll be fixed later.
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-01-03 15:30:22 +01:00
Ambal
190c5e6338
[8744] Fix 'warning: deleting ‘void*’ is undefined' in SqlOperations.h/SqlOperations.cpp, caused by [8736]. Thanks to Shendor for pointing the problem.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-27 11:41:58 +02:00
Ambal
b0ea8848a5
[8736] operator new[] based version of strdup() function to get bonuses from Intel Memory allocator mainly in DB code
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-26 01:05:12 +02:00
Ambal
b1888bb343
[8714] Fix compilation on Visual Studio 2010 Beta 2.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-23 14:51:35 +03:00
XTZGZoReX
66ffd80ed2
[8463] Fixed race conditions in LockedQueue.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-04 10:36:14 +02:00
VladimirMangos
f4482f247f
[7532] Avoid warnings at use size_t with printf fromat strings.
2009-03-24 06:03:22 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
Wyk3d
5ba3796480
[6920] Cleaned up DatabaseImpl and added support for async queries with 3 parameters passed to the callback.
2008-12-19 15:55:38 +02:00
VladimirMangos
8563b88859
Fixed some format arg type/value pairs. Other warnings.
2008-11-01 23:53:35 +03:00
TheLuda
899d7dec74
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
2008-10-15 18:25:10 +02:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00