Commit Graph

23 Commits

Author SHA1 Message Date
Takenbacon
a23b13defe fix(Core/Database): Gracefully close database workers (#20936)
* Gracefully close database workers

* Change init order. Such a silly compiler flag

* Fix hang if db connection failed to open
2024-12-18 20:24:17 +01:00
Kitzunu
dbde182ecd refactor(Deps/MySQL): Drop MariaDB and MySQL 5.7/8.1 and add MySQL 8.… (#19451) 2024-09-19 00:24:11 -03:00
Francesco Borzì
02a05fbd4c refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports

* fix: build

* chore: fix build

* chore: size_t -> std::size_t

* chore: fix fuckup from previous commit

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build with std::size_t

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build
2024-07-30 20:06:46 -03:00
Mike Delago
d0eae390b6 fix(Core/DatabseWorkerPool): implement DatabaseIncompatibleVersion to better support MariaDB (#18201)
* fix(Core): Rework Database Version Check for MariaDB support

* incorporate "smarter" version comparison

* rename function to be more accurate

* Factor magic numbers into defines. Revise comments

* clean up triple newline

* Doxygenify the docs

* remove blankspace

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2024-01-21 14:48:57 +01:00
Winfidonarleyan
e90d7a2f92 chore(Core/Misc): sort includes (#17776)
* chore(Cleanup): sort includes

* fix build

* fix build again
2023-11-18 17:51:26 +01:00
Skjalf
6b4be39341 chore(Core/Database): Improve error wording (#15270) 2023-03-06 10:52:05 -03:00
Skjalf
12e69248f8 chore(Core/DB): Display the SQL client version found when throwing th… (#15266) 2023-03-04 17:22:56 -03:00
Kitzunu
336166c83e chore(Core/Misc): Improve wiki link in database error (#11496) 2022-04-23 15:49:35 -03:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Kargatum
5969df4e30 refactor(Core/Logging): switch to fmt style for LOG_ (#10366)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp

* rework logging

* add fmt replace logs

* logging

* FMT_LOG_

* settings

* fix startup

* 1

* 2

* 3

* 4

* 5

* fmt::print

* to fmt
2022-01-27 16:44:41 +01:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01:00
Kitzunu
d0ee420b3a fix(Core/DatabseWorkerPool): Maria stuff (#9705) 2021-12-14 22:12:36 +01:00
Kitzunu
04fd8791e1 refactor(Core/DB): Deprecate MariaDB 10.4 and below (#9675) 2021-12-14 15:15:44 +01:00
Kargatum
f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
dantav
aeafd1f376 fix(DatabaseWorkerPool): state correct MYSQL version in message (#8782) 2021-11-02 18:40:55 +01:00
Kargatum
a650fd495c feat(Core/Metrics): implement real time statistic visualization (#8663) 2021-10-28 14:47:29 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kargatum
5c1b1299e7 fix(Core/DBPlayer): correct support MariaDB 10.6 (#7288)
Co-authored-by: Viste <viste02@gmail.com>
2021-08-13 13:25:08 +02:00
Kargatum
8568c4fb33 feat(Core): replace ACE network with Boost.Asio (#6574) 2021-07-16 10:43:56 +02:00
Kitzunu
c88cc05b10 chore(Core/Database): add info about errors (#6895) 2021-07-13 19:15:52 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
UltraNix
beb4df9d3e fix(Core/Shared/DB): recommit transactions on dead-lock error (#6069) 2021-06-01 15:36:59 +02:00
Kargatum
a278fd7340 feat(Cmake/Database): separate database lib from common (#5334)
* feat(Core/Database): separate databse lib from common

* 1
2021-04-20 12:08:23 +02:00