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
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
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
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
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
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
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
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
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
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
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
joschiwald
e51b660177
Core/Updater: fixed host parameter is being ignored
2015-09-26 19:18:05 +02:00
Shauren
20423c363a
Build fix
2015-09-26 00:50:22 +02:00
Shauren
2d109b63e2
Core/Updater: Pipe mysql process output into worldserver log
2015-09-26 00:24:22 +02:00
StormBytePP
1d2aafd39b
Core/Build: Merge common library and move database out of shared
2015-08-21 17:52:42 +02:00