parameter issue
This commit is contained in:
@@ -29,7 +29,6 @@
|
|||||||
* as that of the covered work. *
|
* as that of the covered work. *
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
|
||||||
#include <dbofficial/asyncdbplayerlastgames.h>
|
#include <dbofficial/asyncdbplayerlastgames.h>
|
||||||
#include <dbofficial/dbidmanager.h>
|
#include <dbofficial/dbidmanager.h>
|
||||||
|
|
||||||
@@ -37,8 +36,8 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
AsyncDBPlayerLastGames::AsyncDBPlayerLastGames(unsigned queryId, unsigned replyId, const string &preparedName, const list<string> ¶ms)
|
AsyncDBPlayerLastGames::AsyncDBPlayerLastGames(unsigned queryId, const string &preparedName, const list<string> ¶ms)
|
||||||
: SingleAsyncDBQuery(queryId, preparedName, params), m_replyId(replyId)
|
: SingleAsyncDBQuery(queryId, preparedName, params)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,11 +60,9 @@ AsyncDBPlayerLastGames::HandleResult(mysqlpp::Query &/*query*/, DBIdManager &/*i
|
|||||||
void
|
void
|
||||||
AsyncDBPlayerLastGames::HandleNoResult(mysqlpp::Query &/*query*/, DBIdManager &/*idManager*/, boost::asio::io_service &service, ServerDBCallback &cb)
|
AsyncDBPlayerLastGames::HandleNoResult(mysqlpp::Query &/*query*/, DBIdManager &/*idManager*/, boost::asio::io_service &service, ServerDBCallback &cb)
|
||||||
{
|
{
|
||||||
//service.post(boost::bind(&ServerDBCallback::BlockPlayerSuccess, &cb, GetId(), m_replyId));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
AsyncDBPlayerLastGames::HandleError(boost::asio::io_service &service, ServerDBCallback &cb)
|
AsyncDBPlayerLastGames::HandleError(boost::asio::io_service &service, ServerDBCallback &cb)
|
||||||
{
|
{
|
||||||
//service.post(boost::bind(&ServerDBCallback::BlockPlayerFailed, &cb, GetId(), m_replyId));
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,9 +52,6 @@ public:
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
unsigned m_replyId;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user