query params ordered

This commit is contained in:
Kai Philipp
2019-09-11 14:00:33 +02:00
parent b2fbe16387
commit f4b1d7a5f3
+2 -2
View File
@@ -242,10 +242,10 @@ ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vect
string lastIp = "127.0.0.1";
list<string> params;
ostringstream paramStream;
paramStream << playerId;
params.push_back(paramStream.str());
params.push_back(lastGamesFieldValue);
params.push_back(lastIp);
paramStream << playerId;
params.push_back(paramStream.str());
boost::shared_ptr<AsyncDBQuery> asyncQuery(
// @FIXME: why does AsyncDBPlayerLastGames not work?
new AsyncDBPlayerLastGames(