aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLConnection.h
AgeCommit message (Collapse)Author
2024-09-19Core/Database: Change database async thread shutdown to fix some corner ↵Shauren
cases leading to servers being stuck on shutdown (for example with exit() call)
2024-06-12Core/Database: Remove future/promise typedefs from a public header (these ↵Shauren
are internal to database project)
2023-12-15Core/Database: Replace DatabaseWorker with asio io_contextShauren
2023-12-14Core/Database: Refactor MySQLConnection constructors and async thread creationShauren
2023-08-27Core/Misc: Fixed doxygen docs being attached to wrong fieldsShauren
2023-04-06Core/Misc: Modernize code a bit by replacing std::tie with either structured ↵Shauren
bindings or operator<=>
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-01-01Added the ability to use TLS when connecting to a database. (#24348)myuzhobcplidtkieno
* 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 ae553f89664a4baade80020856c9ff66323de963)
2021-12-22Core/DBLayer: Refactor PreparedStatement class to not depend on ↵Shauren
MySQLPreparedStatement (cherry picked from commit 5b0a32d164ba91207360d8b8a266b69dd0db9869)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-01-02New YearAokromes
2019-11-01Core/DBLayer: Support using mysql 8Shauren
2019-08-17Core/Database: Prepared statement parameter preallocation (#18999)ariel-
- Pass prepared statement size to the helper class to prevent runtime resizing. - Rename CheckValidIndex -> AssertValidIndex - Cached prepared size on the worker pool as it's shared among all connections - Cached query data only for each connection, done lookup in map instead of possibly creating a new element - Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class (This info is only used for logging, and there is no need of keeping a second container just for it) (cherrypicked from affee140c6a8e1e9358be2aa0d0088ede218acaa)
2019-07-27Core/DBLayer: Prevent committing transactions started on a different databaseShauren
2019-07-27Core/DBLayer: Prevent using prepared statements on wrong databaseShauren
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-05-12Core/Database: Include cleanupShauren
2017-05-11Core/Common: Include cleanupShauren
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-03-24Core/Database: Converted the database library to a shared library.Naios
* There is still the possibility to static link against database.
2016-03-03Core/Database: Use RAII for resource management in MySQLConnectionNaios
* Prevents double deletion of MySQLConnection after errors * The object stays valid after an error and will wait for a reconnect * Also crash the server if 5 reconnects fail * Corrects an issue where the server was crashed after one reconnect because mysql_thread_id was invoked with an invalid handle (cherry picked from commit 62815c6e1c0427e1d0229d02b1ba70449654cded)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-08-21Core/Build: Merge common library and move database out of sharedStormBytePP