Core/Build: Partial work of fixing non-PCH Linux compile
--HG-- branch : trunk
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
|
|
||||||
#include "DBCFileLoader.h"
|
#include "DBCFileLoader.h"
|
||||||
#include "Logging/Log.h"
|
#include "Logging/Log.h"
|
||||||
|
#include "Field.h"
|
||||||
|
#include "DatabaseWorkerPool.h"
|
||||||
|
#include "WorldDatabase.h"
|
||||||
|
|
||||||
struct SqlDbc
|
struct SqlDbc
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
#include "Transaction.h"
|
#include "Transaction.h"
|
||||||
#include "DatabaseWorker.h"
|
#include "DatabaseWorker.h"
|
||||||
#include "PreparedStatement.h"
|
#include "PreparedStatement.h"
|
||||||
|
#include "Log.h"
|
||||||
|
|
||||||
enum MySQLThreadBundle
|
enum MySQLThreadBundle
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#if !defined(FIELD_H)
|
#if !defined(FIELD_H)
|
||||||
#define FIELD_H
|
#define FIELD_H
|
||||||
|
#include <iostream>
|
||||||
|
#include "Common.h"
|
||||||
|
|
||||||
class Field
|
class Field
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ace/Activation_Queue.h>
|
||||||
|
#include "DatabaseWorkerPool.h"
|
||||||
|
|
||||||
#ifndef _MYSQLCONNECTION_H
|
#ifndef _MYSQLCONNECTION_H
|
||||||
#define _MYSQLCONNECTION_H
|
#define _MYSQLCONNECTION_H
|
||||||
|
|
||||||
@@ -59,4 +62,4 @@ class MySQLConnection
|
|||||||
ACE_Thread_Mutex m_Mutex;
|
ACE_Thread_Mutex m_Mutex;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "PreparedStatement.h"
|
#include "PreparedStatement.h"
|
||||||
#include "MySQLConnection.h"
|
#include "MySQLConnection.h"
|
||||||
|
#include "Log.h"
|
||||||
|
|
||||||
PreparedStatement::PreparedStatement(uint32 index) :
|
PreparedStatement::PreparedStatement(uint32 index) :
|
||||||
m_index(index),
|
m_index(index),
|
||||||
@@ -322,4 +323,4 @@ PreparedStatementTask::~PreparedStatementTask()
|
|||||||
bool PreparedStatementTask::Execute()
|
bool PreparedStatementTask::Execute()
|
||||||
{
|
{
|
||||||
return m_conn->Execute(m_stmt);
|
return m_conn->Execute(m_stmt);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "SQLOperation.h"
|
#include "SQLOperation.h"
|
||||||
#include "MySQLConnection.h"
|
#include "MySQLConnection.h"
|
||||||
|
#include "Log.h"
|
||||||
|
|
||||||
/*! Basic, ad-hoc queries. */
|
/*! Basic, ad-hoc queries. */
|
||||||
BasicStatementTask::BasicStatementTask(const char* sql) :
|
BasicStatementTask::BasicStatementTask(const char* sql) :
|
||||||
|
|||||||
Reference in New Issue
Block a user