mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[Core] Remove obsolete directive
This commit is contained in:
parent
deb9a167ea
commit
2d06f70da2
57 changed files with 139 additions and 139 deletions
|
|
@ -44,7 +44,7 @@ class Database;
|
|||
#define MAX_QUERY_LEN (32*1024)
|
||||
|
||||
//
|
||||
class MANGOS_DLL_SPEC SqlConnection
|
||||
class SqlConnection
|
||||
{
|
||||
public:
|
||||
virtual ~SqlConnection() {}
|
||||
|
|
@ -106,7 +106,7 @@ class MANGOS_DLL_SPEC SqlConnection
|
|||
StmtHolder m_holder;
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC Database
|
||||
class Database
|
||||
{
|
||||
public:
|
||||
virtual ~Database();
|
||||
|
|
@ -243,7 +243,7 @@ class MANGOS_DLL_SPEC Database
|
|||
// factory method to create SqlDelayThread objects
|
||||
virtual SqlDelayThread* CreateDelayThread();
|
||||
|
||||
class MANGOS_DLL_SPEC TransHelper
|
||||
class TransHelper
|
||||
{
|
||||
public:
|
||||
TransHelper() : m_pTrans(NULL) {}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
#endif
|
||||
|
||||
// MySQL prepared statement class
|
||||
class MANGOS_DLL_SPEC MySqlPreparedStatement : public SqlPreparedStatement
|
||||
class MySqlPreparedStatement : public SqlPreparedStatement
|
||||
{
|
||||
public:
|
||||
MySqlPreparedStatement(const std::string& fmt, SqlConnection& conn, MYSQL* mysql);
|
||||
|
|
@ -72,7 +72,7 @@ class MANGOS_DLL_SPEC MySqlPreparedStatement : public SqlPreparedStatement
|
|||
MYSQL_RES* m_pResultMetadata;
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC MySQLConnection : public SqlConnection
|
||||
class MySQLConnection : public SqlConnection
|
||||
{
|
||||
public:
|
||||
MySQLConnection(Database& db) : SqlConnection(db), mMysql(NULL) {}
|
||||
|
|
@ -102,7 +102,7 @@ class MANGOS_DLL_SPEC MySQLConnection : public SqlConnection
|
|||
MYSQL* mMysql;
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC DatabaseMysql : public Database
|
||||
class DatabaseMysql : public Database
|
||||
{
|
||||
friend class MaNGOS::OperatorNew<DatabaseMysql>;
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#include <libpq-fe.h>
|
||||
#endif
|
||||
|
||||
class MANGOS_DLL_SPEC PostgreSQLConnection : public SqlConnection
|
||||
class PostgreSQLConnection : public SqlConnection
|
||||
{
|
||||
public:
|
||||
PostgreSQLConnection() : mPGconn(NULL) {}
|
||||
|
|
@ -65,7 +65,7 @@ class MANGOS_DLL_SPEC PostgreSQLConnection : public SqlConnection
|
|||
PGconn* mPGconn;
|
||||
};
|
||||
|
||||
class MANGOS_DLL_SPEC DatabasePostgre : public Database
|
||||
class DatabasePostgre : public Database
|
||||
{
|
||||
friend class MaNGOS::OperatorNew<DatabasePostgre>;
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
#include "Errors.h"
|
||||
#include "Field.h"
|
||||
|
||||
class MANGOS_DLL_SPEC QueryResult
|
||||
class QueryResult
|
||||
{
|
||||
public:
|
||||
QueryResult(uint64 rowCount, uint32 fieldCount)
|
||||
|
|
@ -54,7 +54,7 @@ class MANGOS_DLL_SPEC QueryResult
|
|||
|
||||
typedef std::vector<std::string> QueryFieldNames;
|
||||
|
||||
class MANGOS_DLL_SPEC QueryNamedResult
|
||||
class QueryNamedResult
|
||||
{
|
||||
public:
|
||||
explicit QueryNamedResult(QueryResult* query, QueryFieldNames const& names) : mQuery(query), mFieldNames(names) {}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ enum SqlStmtFieldType
|
|||
|
||||
// templates might be the best choice here
|
||||
// but I didn't have time to play with them
|
||||
class MANGOS_DLL_SPEC SqlStmtFieldData
|
||||
class SqlStmtFieldData
|
||||
{
|
||||
public:
|
||||
SqlStmtFieldData() : m_type(FIELD_NONE) { m_binaryData.ui64 = 0; }
|
||||
|
|
@ -145,7 +145,7 @@ template<> inline void SqlStmtFieldData::set(const char* val) { m_type = FIELD_S
|
|||
|
||||
class SqlStatement;
|
||||
// prepared statement executor
|
||||
class MANGOS_DLL_SPEC SqlStmtParameters
|
||||
class SqlStmtParameters
|
||||
{
|
||||
public:
|
||||
typedef std::vector<SqlStmtFieldData> ParameterContainer;
|
||||
|
|
@ -194,7 +194,7 @@ class SqlStatementID
|
|||
};
|
||||
|
||||
// statement index
|
||||
class MANGOS_DLL_SPEC SqlStatement
|
||||
class SqlStatement
|
||||
{
|
||||
public:
|
||||
~SqlStatement() { delete m_pParams; }
|
||||
|
|
@ -301,7 +301,7 @@ class MANGOS_DLL_SPEC SqlStatement
|
|||
};
|
||||
|
||||
// base prepared statement class
|
||||
class MANGOS_DLL_SPEC SqlPreparedStatement
|
||||
class SqlPreparedStatement
|
||||
{
|
||||
public:
|
||||
virtual ~SqlPreparedStatement() {}
|
||||
|
|
@ -336,7 +336,7 @@ class MANGOS_DLL_SPEC SqlPreparedStatement
|
|||
};
|
||||
|
||||
// prepared statements via plain SQL string requests
|
||||
class MANGOS_DLL_SPEC SqlPlainPreparedStatement : public SqlPreparedStatement
|
||||
class SqlPlainPreparedStatement : public SqlPreparedStatement
|
||||
{
|
||||
public:
|
||||
SqlPlainPreparedStatement(const std::string& fmt, SqlConnection& conn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue