Core/Sai: Added new db errors :P (hihi)
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
[TW274] - Missing sql code.
Core/Misc: Fix some static analysis issues

Add some asserts and additional NULL checks as sanity checks.
Core/Misc: Fix typo in f47962f6707bb53a3241d23257a5bbd1b2679f87
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
Merge branch 'master' of https://github.com/TrueWoW/TrinityCore into ghbb
更新