direct SingleAsync try

This commit is contained in:
Kai Philipp
2019-09-11 12:50:55 +02:00
parent 4fa8364571
commit c97fd1daa1
+2 -2
View File
@@ -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));