From e0d45f6dff3afe5caa38c48646f23d966c8c03a1 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 15 Dec 2023 12:06:59 +0100 Subject: Core/Database: Replace DatabaseWorker with asio io_context (cherry picked from commit d958bfd0f32bfe798809b72c1b51c990edfe141c) --- src/server/database/Database/SQLOperation.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/server/database/Database/SQLOperation.h') diff --git a/src/server/database/Database/SQLOperation.h b/src/server/database/Database/SQLOperation.h index 2e85f72c17c..c4b5d325576 100644 --- a/src/server/database/Database/SQLOperation.h +++ b/src/server/database/Database/SQLOperation.h @@ -18,7 +18,6 @@ #ifndef _SQLOPERATION_H #define _SQLOPERATION_H -#include "Define.h" #include "DatabaseEnvFwd.h" //- Union that holds element data @@ -42,27 +41,4 @@ struct SQLElementData SQLElementDataType type; }; -class MySQLConnection; - -class TC_DATABASE_API SQLOperation -{ - public: - SQLOperation(): m_conn(nullptr) { } - virtual ~SQLOperation() { } - - virtual int call() - { - Execute(); - return 0; - } - virtual bool Execute() = 0; - virtual void SetConnection(MySQLConnection* con) { m_conn = con; } - - MySQLConnection* m_conn; - - private: - SQLOperation(SQLOperation const& right) = delete; - SQLOperation& operator=(SQLOperation const& right) = delete; -}; - #endif -- cgit v1.2.3