Commit Graph

35 Commits

Author SHA1 Message Date
Shauren
ca8db8e65c Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3
(cherry picked from commit 65e787d18b)
2024-02-16 18:17:43 +01:00
Shauren
aaa6e73c8c Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
(cherry picked from commit d791afae1d)
2023-08-15 20:10:04 +02:00
Shauren
6e4329b110 DB: Convert databases to utf8mb4 2023-02-05 14:58:07 +01:00
Shauren
ce4981b23f Core/DBUpdater: Apply each sql update file in a separate transaction
(cherry picked from commit b79a91039b)
2022-01-30 15:50:56 +01:00
kvolk2git
57617e215b Core/DBUpdater: Fixed db auto updater for mysql 8 when ssl connections are enabled (#27298) 2021-11-20 23:03:20 +01:00
Carbenium
98b1b20d6b 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
2020-08-07 11:23:10 +02:00
Shauren
524d167398 Dep: Switch to boost process instead of old standalone version 2020-07-15 19:33:12 +02:00
myuzhobcplidtkieno
ae553f8966 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>
2020-04-07 22:08:28 +02:00
Aokromes
ed93932537 New year
Say bye bye to every year changing dates
2020-01-02 06:25:50 +01:00
Shauren
b5480acf54 Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections
(cherry picked from commit f689f6e9bd)
2019-11-09 13:49:31 +01:00
Treeston
fcfcb0eb6f Happy New Year, folks. It's 2019! 2019-01-01 15:45:25 +01:00
jackpoz
16b5f39de6 Core/DBUpdater: Code cleanup 2018-02-24 14:54:42 +01:00
jackpoz
ff04121c83 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-02-24 13:09:00 +01:00
DDuarte
3945a010d2 Core/DBUpdater: Improve message when base SQL file is missing
(cherry picked from commit 844755aa07)

GCC build fix

(cherry picked from commit a15985edc6)
2018-02-18 16:23:47 +00:00
tkrokli
f6b6f57a6d Update copyright note for 2018
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
ariel-
85a7d5ce9a Core: ported headers cleanup from master branch 2017-06-19 23:20:06 -03:00
Aokromes
1957c9c114 Core/Updater: Better log for fresh installations 2017-01-15 08:55:11 +01:00
tkrokli
6a51a88767 Update Copyright notice for 2017
Happy new year!
2017-01-02 19:52:45 +01:00
Aokromes
9250680680 Update DBUpdater.cpp 2016-09-12 01:04:15 +02:00
Aokromes
fb048a4cdb Update DBUpdater.cpp 2016-09-12 01:00:27 +02:00
Aokromes
fe9f79780e Core/Updater: Clarify more 2 errors 2016-09-12 00:51:06 +02:00
Aokromes
09a1cfdf77 Core/Updater: Clarify even more this error 2016-07-23 03:37:09 +02:00
Aokromes
5868509a63 Update DBUpdater.cpp
Because nature wins race....
2016-07-20 21:46:59 +02:00
Trond B Krokli
8fe8501712 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
2016-06-01 21:10:20 +01:00
Naios
dadc02d77a Core/Updater: Correct the config key hint of a log message 2016-04-23 17:13:38 +02:00
Naios
f93617c3c9 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.

(cherry picked from commit 3497b4960b)
2016-04-11 21:40:59 +02:00
Naios
205556b226 Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.

(cherry picked from commit 6cfea2d8f7)
2016-03-24 02:46:01 +01:00
Naios
b5369b7d87 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

(cherry picked from commit 719159e207)
2016-02-22 16:25:47 +01:00
Duarte Duarte
893c63f320 Core/DBUpdater: Fix help text download link
Change from forums to GH Releases
(cherry picked from commit 6b529fcd43)
2016-01-04 22:53:34 +00:00
Rushor
923a368ac7 Update copyright note for 2016 2016-01-01 12:02:33 +01:00
joschiwald
3db4c64287 Core/Updater: fixed host parameter is being ignored
(cherry picked from commit e51b660177)
2015-10-05 17:15:54 +02:00
Naios
a561edefb9 Core/Updater: Fix mysql in path check/search. 2015-10-05 17:11:59 +02:00
Shauren
0cf04cc166 Core/Updater: Pipe mysql process output into worldserver log
(cherry picked from commit 2d109b63e2)
2015-10-05 17:11:57 +02:00
StormBytePP
0cc3d883e1 Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present 2015-08-16 23:08:01 +02:00
StormBytePP
1f66d719f2 Core/BuildSystem: Merge collision, debugging, threading, utilities and configuration into "common" which does not depend on shared anymore and moved database out of shared library
These changes enables to build tools only without even having MySQL installed
2015-08-16 21:23:15 +02:00