pfff
This commit is contained in:
@@ -238,7 +238,6 @@ void
|
|||||||
ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector<long> lastGames)
|
ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector<long> lastGames)
|
||||||
{
|
{
|
||||||
LOG_ERROR("ServerDBThread::SetPlayerLastGames() entered.");
|
LOG_ERROR("ServerDBThread::SetPlayerLastGames() entered.");
|
||||||
// The game id param is added later (during init of the async op), because it may be unknown.
|
|
||||||
string lastGamesFieldValue = "1,2,3";
|
string lastGamesFieldValue = "1,2,3";
|
||||||
string lastIp = "127.0.0.1";
|
string lastIp = "127.0.0.1";
|
||||||
list<string> params;
|
list<string> params;
|
||||||
@@ -249,7 +248,7 @@ ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vect
|
|||||||
params.push_back(lastIp);
|
params.push_back(lastIp);
|
||||||
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
||||||
// @FIXME: why does AsyncDBPlayerLastGames not work?
|
// @FIXME: why does AsyncDBPlayerLastGames not work?
|
||||||
new SingleAsyncDBQuery(
|
new AsyncDBPlayerLastGames(
|
||||||
requestId,
|
requestId,
|
||||||
QUERY_PLAYER_LASTGAMES_PREPARE,
|
QUERY_PLAYER_LASTGAMES_PREPARE,
|
||||||
params));
|
params));
|
||||||
|
|||||||
Reference in New Issue
Block a user