quarters78
c4b1caeb95
Core/Database: Fix database auto updater when using MySQL 9.4 ( #31243 )
...
(cherry picked from commit 290a7b9310 )
2025-08-30 23:05:26 +02:00
Shauren
dcb2857f38
Core/Database: Update PCH content to include most commonly used headers
2025-06-11 20:41:47 +02:00
Shauren
fff12eafdf
Core/Common: Catch and log child process creation errors
2024-09-23 14:17:33 +02:00
Shauren
f270686201
Core/Common: Output stdout/stderr from child process without waiting for it to finish
2024-09-14 14:45:40 +02:00
Shauren
b257b244cb
Core/DBUpdater: Use utf8mb4 in dbupdater --default-character-set
2024-08-24 21:42:08 +02:00
Shauren
7fcb126fcb
Core/Database: Remove future/promise typedefs from a public header (these are internal to database project)
2024-06-12 21:41:29 +02:00
Antonio Martín Berti
15e995b3b3
Core/Misc: Remove separate storage for custom messages in exception types and store it directly in base class from <stdexcept> ( #30012 )
2024-05-29 19:03:37 +02:00
Shauren
78aef0bd75
Core/Updater: Fix gcc build (this time for older gcc versions that didn't trigger the warning fixed in previous commit)
2024-05-06 00:43:06 +02:00
Shauren
b288fceb79
Core/Updater: Fix gcc warning
2024-05-06 00:38:05 +02:00
Shauren
cfa838df5d
Core/Misc: Support boost 1.85
2024-04-22 11:52:58 +02:00
Shauren
65e787d18b
Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3
2023-01-10 00:49:22 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
b79a91039b
Core/DBUpdater: Apply each sql update file in a separate transaction
2022-01-30 15:50:35 +01:00
Carbenium
d6c998a1a8
Core/Updater: Fix detection of the mysql binary when a directory is given as path
...
This ensures that we never pass a directory path StartProcess which results in a crash.
Closes #25216
(cherry picked from commit 98b1b20d6b )
2022-01-26 18:41:14 +01:00
Peter Keresztes Schmidt
ad340466d0
Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs ( #25054 )
...
Related: #25006
(cherry picked from commit 85b5b842ca )
2022-01-23 22:02:03 +01:00
Shauren
2b312c7bd2
Dep: Switch to boost process instead of old standalone version
...
(cherry picked from commit 524d167398 )
2022-01-23 20:39:15 +01:00
kvolk2git
285e3a1ed2
Core/DBUpdater: Fixed db auto updater for mysql 8 when ssl connections are enabled ( #27298 )
...
(cherry picked from commit 57617e215b )
2022-01-01 01:11:58 +01:00
myuzhobcplidtkieno
de5f7edede
Added the ability to use TLS when connecting to a database. ( #24348 )
...
* Added the ability to use TLS when connecting to a database.
* Trying to kickstart CI checks
* Revert the kickstart change
Co-authored-by: myuzhobcplidtkieno <myuzhobcplidtkieno@github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
(cherry picked from commit ae553f8966 )
2022-01-01 01:07:52 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Treeston
e9392ad287
Core/Authserver: Authserver cleanup (PR#25093)
...
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber
- Get rid of (most of) the C-style arrays in authserver
- CryptoRandom as a unified source for cryptographic randomness
- Bring our other crypto APIs into 2020
- BigNumber usability improvements
- Authserver is now actually readable as a result of all of the above
(cherry picked from commit 210176fd91 )
2020-08-03 19:39:00 +02:00
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +02:00
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
f689f6e9bd
Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections
2019-11-03 14:14:32 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
jackpoz
8488150dee
Core/DBUpdater: Code cleanup
2018-12-30 18:10:11 +01:00
jackpoz
d2b77ca075
Core/DBUpdater: Fix error message
...
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-12-30 18:10:06 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
1ec8228d4a
Remove duplicate includes
2017-06-12 22:08:02 +02:00
Shauren
7e538980a2
Core/Database: Include cleanup
2017-05-12 18:50:27 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
DDuarte
a15985edc6
GCC build fix
...
It's been too long, C++
2017-04-18 21:38:47 +01:00
DDuarte
844755aa07
Core/DBUpdater: Improve message when base SQL file is missing
2017-04-18 21:20:46 +01:00
Aokromes
927a1b3e1e
Core/Updater: Clarify more 2 errors
...
(cherry picked from commit fe9f79780e )
Update DBUpdater.cpp
(cherry picked from commit fb048a4cdb )
Update DBUpdater.cpp
(cherry picked from commit 9250680680 )
2017-02-26 16:56:45 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Aokromes
b71a3c2766
Core/Updater: Clarify even more this error
...
(cherry picked from commit 09a1cfdf77 )
2016-08-10 17:57:18 +02:00
Aokromes
be51db3ae1
Update DBUpdater.cpp
...
Because nature wins race....
(cherry picked from commit 5868509a63 )
2016-08-10 17:56:05 +02:00
Trond B Krokli
6f29493556
Core/DB/Updater: engrish corrections in DBUpdater.cpp ( #17262 )
...
English grammar and syntax corrections in DBUpdater.cpp
- string texts corrected, source code unchanged
- comments improved and checked for typos
(cherry picked from commit 8fe8501712 )
2016-08-10 17:53:12 +02:00
Trond B Krokli
186375d997
Core/DB/Updater: English grammar corrections ( #17207 )
...
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
2016-05-29 15:06:07 +01:00
Naios
4f9352d773
Core/Updater: Correct the config key hint of a log message
...
(cherry picked from commit dadc02d77a )
2016-04-23 17:26:14 +02:00
Naios
a679829050
Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
...
(cherry picked from commit 3271f328de )
2016-04-18 22:11:16 +02:00
Naios
3497b4960b
Core/Common: Capsule boost process into helper functions
...
* For easier usage, the processes output it routed
correctly to the TC logger line by line now.
* Add support for asynchronous process execution
and process termination.
2016-04-11 20:07:24 +02:00
Shauren
70412e7e25
Core/Misc: MSVC warning fixes
2016-04-05 00:15:56 +02:00
Naios
6cfea2d8f7
Core/Database: Converted the database library to a shared library.
...
* There is still the possibility to static link against database.
2016-03-24 01:28:59 +01:00
Naios
c43b808665
Core/Updater: Convert an assertion into a fatal error
...
* The error is triggered when it fails to open an update for hashing
* See 'https://community.trinitycore.org/topic/12352-worldserver-crashes-on-database-update/ '
for details
* And a minor cleanup in the UpdateFetcher
2016-02-21 15:52:50 +01:00
Naios
719159e207
Core/Common: Add a generic config helper to access built-in overwriteable paths.
...
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h
* Move the source and mysql exe path handling out of the DBUpdater.
* Make some Config methods const for correctness.
* Remove C & CXX flags from revision_data.h
(was unused and didn't capture all cxx vars)
* Reorder the link order to prevent `ld` from ignoring the file
* Ref #15671
2016-02-21 15:52:42 +01:00
Naios
716c952cb9
Core/Updater: Use a different method for file reading
...
* Current method causes issues under CentOS 6 and could possibly
lead to cutted buffer content when reading in textmode.
* Closes #16209
(cherry picked from commit ae1a5c6c2b )
2016-02-20 20:32:34 +01:00
Duarte Duarte
6b529fcd43
Core/DBUpdater: Fix help text download link
...
Change from forums to GH Releases
2016-01-04 22:51:48 +00:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Naios
02ab60a133
Core/Updater: Fix mysql in path check/search.
...
(cherry picked from commit a561edefb9 )
2015-10-05 17:17:56 +02:00