Commit Graph

20 Commits

Author SHA1 Message Date
Francesco Borzì
1ebb53a248 refactor(src/server/apps|database|shared): remove unused imports (#19505) 2024-09-29 13:10:50 -03:00
Kitzunu
b67a409bad refactor(Core/Database): improve abort messages for mysql errors (#20013)
* refactor(Core/Database): improve abort messages for mysql errors

* Update MySQLConnection.cpp
2024-09-23 15:58:00 -03: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
Walter Pagani
f18145ca12 feat(fix/build) ignore mariadb in the conditional (#18310)
* feat(fix/build) ignore mariadb in the conditional

* Parentheses in the second condition
2024-02-11 14:28:43 +01:00
Walter Pagani
6b1dd7e19e fix(Core/Database) mysql_stmt_bind_param deprecated in MySQL 8.3 (#18295)
* feat(fix/build) Test on MacOS

* Syntax error

* Syntax error

* Adding missing parameters

* typo

* deprecated

* Check MySQL version
2024-02-10 21:31:17 +01: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
Kitzunu
ef1b3c2ea0 chore(Core/Misc): Clean up workarounds (#17870)
* Clean advstd to use std c++20 features
* Use ABORT instead of std::abort

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2023-11-27 00:07:39 +01:00
Kempec Halk
f780ae84b8 refactor(Core/MySQL): MySQL PreparedStatement Affected Row Count (#12002) 2023-01-28 11:05:55 +01:00
Axel Cocat
07ac386e61 feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected (#14673)
* feat(Core/Database): move MySQL handle and HandleMySQLErrno to protected

* fix: initialization order
2023-01-15 11:02:43 -05:00
Kargatum
4fbec972a8 refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07: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
Kargatum
e8f34b2309 feat(Core/Common): add support fmt style for ASSERT and ABORT (#10355)
* feat(Core/Common): add support fmt style for ASSERT and ABORT

* correct CheckCompactArrayMaskOverflow

* 1

* Update src/server/game/Spells/Spell.cpp
2022-01-25 23:15:51 +01:00
Kargatum
6d7f58e6ed feat(Core/Common): delete old Tokenizer (#10121) 2022-01-21 14:59:05 +07:00
Francesco Borzì
b748730bc8 refactor(Core): remove unused imports (#9969) 2022-01-02 20:22:09 +01: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
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