query params ordered
This commit is contained in:
@@ -242,10 +242,10 @@ ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vect
|
|||||||
string lastIp = "127.0.0.1";
|
string lastIp = "127.0.0.1";
|
||||||
list<string> params;
|
list<string> params;
|
||||||
ostringstream paramStream;
|
ostringstream paramStream;
|
||||||
paramStream << playerId;
|
|
||||||
params.push_back(paramStream.str());
|
|
||||||
params.push_back(lastGamesFieldValue);
|
params.push_back(lastGamesFieldValue);
|
||||||
params.push_back(lastIp);
|
params.push_back(lastIp);
|
||||||
|
paramStream << playerId;
|
||||||
|
params.push_back(paramStream.str());
|
||||||
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
boost::shared_ptr<AsyncDBQuery> asyncQuery(
|
||||||
// @FIXME: why does AsyncDBPlayerLastGames not work?
|
// @FIXME: why does AsyncDBPlayerLastGames not work?
|
||||||
new AsyncDBPlayerLastGames(
|
new AsyncDBPlayerLastGames(
|
||||||
|
|||||||
Reference in New Issue
Block a user