This commit is contained in:
Kai Philipp
2019-09-11 12:20:17 +02:00
parent 1325690e8e
commit 4fa8364571
2 changed files with 2 additions and 3 deletions
-2
View File
@@ -42,8 +42,6 @@ public:
AsyncDBPlayerLastGames(unsigned queryId, const std::string &preparedName, const std::list<std::string> &params);
virtual ~AsyncDBPlayerLastGames();
virtual void Init(DBIdManager& idManager);
virtual void HandleResult(mysqlpp::Query &query, DBIdManager& idManager, mysqlpp::StoreQueryResult& result, boost::asio::io_service &service, ServerDBCallback &cb);
virtual void HandleNoResult(mysqlpp::Query &query, DBIdManager& idManager, boost::asio::io_service &service, ServerDBCallback &cb);
virtual void HandleError(boost::asio::io_service &service, ServerDBCallback &cb);
+2 -1
View File
@@ -248,7 +248,8 @@ ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vect
params.push_back(lastGamesFieldValue);
params.push_back(lastIp);
boost::shared_ptr<AsyncDBQuery> asyncQuery(
new AsyncDBPlayerLastGames(
//new AsyncDBPlayerLastGames(
new AsyncDBGamePlace(
requestId,
QUERY_PLAYER_LASTGAMES_PREPARE,
params));