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>
This commit is contained in:
Mike Delago
2024-01-21 08:48:57 -05:00
committed by GitHub
parent e447351b0f
commit d0eae390b6
4 changed files with 96 additions and 11 deletions

View File

@@ -94,6 +94,7 @@ protected:
void Unlock();
[[nodiscard]] uint32 GetServerVersion() const;
[[nodiscard]] std::string GetServerInfo() const;
MySQLPreparedStatement* GetPreparedStatement(uint32 index);
void PrepareStatement(uint32 index, std::string_view sql, ConnectionFlags flags);