| Age | Commit message (Collapse) | Author |
|
Fixes for 6.x
|
|
|
|
|
|
(cherry picked from commit 1939367108b50eb1de2bb0a9cc017eea6423cf29)
|
|
* Also delegate SQLQueryHolder::SetPQuery into SetQuery.
(cherry picked from commit df4723af25900b3638a2b5921cf67e1838cbaf64)
Conflicts:
src/server/shared/Database/QueryHolder.h
|
|
|
|
|
|
* It let ide's (like vs) display the source tree.
* Disabled by default.
* Soft requirement is cmake >= 2.8.12 .
* Offers 2 modes: flat & hierarchical.
* For detailed description see #14471
* Thanks @click for help and advises.
* Closes #14471
(cherry picked from commit c386711972260aa7b877cdc8cb49d24576ce1902)
Conflicts:
src/server/authserver/CMakeLists.txt
|
|
mysql_init failed.
* Thanks @et65 for noticing.
* ref #14139
|
|
* Also use proper errno instead of 0 when reconnecting.
* Thanks @et65 for reporting
* ref #14139
|
|
Conflicts:
src/server/game/Handlers/MiscHandler.cpp
src/server/game/Server/Protocol/Opcodes.cpp
|
|
|
|
|
|
* this also fixes non whitespace seperated timestamps in logs after 95ebe4f31cba6b4772cfd19 @Aokromes
* remove an unnecessary stringstream in Log::outCommand
* delete copy constructor of LogMessage to prevent unwanted copies
|
|
* found a better way where no cast is needed.
* ref #14430
|
|
* Closes #14430
|
|
* thanks @DDuarte pointing this out.
|
|
Conflicts:
src/server/collision/Management/MMapManager.cpp
src/server/game/Conditions/ConditionMgr.cpp
src/server/game/Conditions/ConditionMgr.h
|
|
|
|
* This will save you from loosing your update history if you use a repository in bad state (revision or branch) by mistake.
* Also turned 1 error message into a warning
|
|
|
|
* Thanks @Shauren for pointing out.
* Also removes an invalid argument thanks @jackpoz for noticing.
|
|
|
|
* warning: when initialized here [-Wreorder]
* thanks to @Vincent-Michael
|
|
Closes #13816
Closes #13792
Ref #14139
|
|
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 <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
|
|
|
|
informed of...
(cherry picked from commit d5718f337257cfa2a4562df1aeb79a0ff0324add)
|
|
Type safe logging
|
|
003d67708b9a279da3d37e5ef06eb32ceab53964
Update the lowest log level when using ".server set loglevel" command.
(cherry picked from commit 43f74fd8cfbab8f8fecf128e5d8d5d44ae767988)
|
|
Improve Log::ShouldLog() performances by saving the lowest log level across all loggers and discarding any log with lower level than that.
(cherry picked from commit 003d67708b9a279da3d37e5ef06eb32ceab53964)
|
|
Fix char[] without a NULL character '\0' in the array reading over the char[] bounds
(cherry picked from commit fd844e3d7e18212d6e8dd6531eac1f198527926b)
|
|
swap logic
|
|
* improves safety and log speed through:
- variadic templates
- perfect forwarding
* fixes a newline in db logs
* improve performance of Appender::write by using std::ostringstream && std::move
|
|
* Either inefficient or wrong usage of string::find(). string::compare() will
be faster if string::find's result is compared with 0, because it will not scan the whole string.
If your intention is to check that there are no findings in the string,
you should compare with std::string::npos.
* C-style pointer casting detected. C++ offers four different kinds of casts as replacements:
static_cast, const_cast, dynamic_cast and reinterpret_cast.
|
|
Core/Mail: fix a logic error introduced in 829e11b6623f967672143d79cd8d31772f54866d
|
|
|
|
|
|
|
|
tables - invalid row will no longer cause crashes
|
|
* character_arena_stats
* character_battleground_random
* character_cuf_profiles
* character_currency
* character_stats
* character_void_storage
|
|
shorter than requested size
(cherry picked from commit e52b46abba9250c611312a891fda0adaccce0f0c)
|
|
|
|
constructor required
|
|
|
|
session timezone offset should be used there, not server offset
|
|
|
|
|
|
|
|
Improve dead-lock error handling by making sure only 1 thread at time retries to execute a transaction so they don't keep dead-locking each other.
(cherry picked from commit 62001360dd1d08b2f33fba0f20425867b1b0a069)
|