aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-08-27 01:58:50 +0200
committerShauren <shauren.trinity@gmail.com>2023-08-27 01:58:50 +0200
commit43584b4d1df65a7d7ff9f3a8db66e61855f747bf (patch)
tree120a063da8861fa02ea0c9b8d1af34915d510653 /src/server/database/Database
parent9ca85627e22a25b635049b3959f1771481e1cdad (diff)
Core/Misc: Fixed doxygen docs being attached to wrong fields
Diffstat (limited to 'src/server/database/Database')
-rw-r--r--src/server/database/Database/MySQLConnection.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/server/database/Database/MySQLConnection.h b/src/server/database/Database/MySQLConnection.h
index 63fcc03141b..93681834225 100644
--- a/src/server/database/Database/MySQLConnection.h
+++ b/src/server/database/Database/MySQLConnection.h
@@ -57,8 +57,8 @@ class TC_DATABASE_API MySQLConnection
friend class PingOperation;
public:
- MySQLConnection(MySQLConnectionInfo& connInfo); //! Constructor for synchronous connections.
- MySQLConnection(ProducerConsumerQueue<SQLOperation*>* queue, MySQLConnectionInfo& connInfo); //! Constructor for asynchronous connections.
+ MySQLConnection(MySQLConnectionInfo& connInfo); //!< Constructor for synchronous connections.
+ MySQLConnection(ProducerConsumerQueue<SQLOperation*>* queue, MySQLConnectionInfo& connInfo); //!< Constructor for asynchronous connections.
virtual ~MySQLConnection();
virtual uint32 Open();
@@ -98,18 +98,18 @@ class TC_DATABASE_API MySQLConnection
typedef std::vector<std::unique_ptr<MySQLPreparedStatement>> PreparedStatementContainer;
- PreparedStatementContainer m_stmts; //! PreparedStatements storage
- bool m_reconnecting; //! Are we reconnecting?
- bool m_prepareError; //! Was there any error while preparing statements?
+ PreparedStatementContainer m_stmts; //!< PreparedStatements storage
+ bool m_reconnecting; //!< Are we reconnecting?
+ bool m_prepareError; //!< Was there any error while preparing statements?
private:
bool _HandleMySQLErrno(uint32 errNo, uint8 attempts = 5);
- ProducerConsumerQueue<SQLOperation*>* m_queue; //! Queue shared with other asynchronous connections.
- std::unique_ptr<DatabaseWorker> m_worker; //! Core worker task.
- MySQLHandle* m_Mysql; //! MySQL Handle.
- MySQLConnectionInfo& m_connectionInfo; //! Connection info (used for logging)
- ConnectionFlags m_connectionFlags; //! Connection flags (for preparing relevant statements)
+ ProducerConsumerQueue<SQLOperation*>* m_queue; //!< Queue shared with other asynchronous connections.
+ std::unique_ptr<DatabaseWorker> m_worker; //!< Core worker task.
+ MySQLHandle* m_Mysql; //!< MySQL Handle.
+ MySQLConnectionInfo& m_connectionInfo; //!< Connection info (used for logging)
+ ConnectionFlags m_connectionFlags; //!< Connection flags (for preparing relevant statements)
std::mutex m_Mutex;
MySQLConnection(MySQLConnection const& right) = delete;