direct SingleAsync try
This commit is contained in:
@@ -248,8 +248,8 @@ ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vect
|
|||||||
params.push_back(lastGamesFieldValue);
|
params.push_back(lastGamesFieldValue);
|
||||||
params.push_back(lastIp);
|
params.push_back(lastIp);
|
||||||
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
||||||
//new AsyncDBPlayerLastGames(
|
// @FIXME: why does AsyncDBPlayerLastGames not work?
|
||||||
new AsyncDBGamePlace(
|
new SingleAsyncDBQuery(
|
||||||
requestId,
|
requestId,
|
||||||
QUERY_PLAYER_LASTGAMES_PREPARE,
|
QUERY_PLAYER_LASTGAMES_PREPARE,
|
||||||
params));
|
params));
|
||||||
|
|||||||
Reference in New Issue
Block a user