Removed pesky '?' causing login query to stall.

This commit is contained in:
Jonathan Williams 2016-04-04 16:30:57 -05:00
parent 02459c6a10
commit 2b3e466469

View File

@ -918,7 +918,7 @@ public class ServerManager extends MiniDbClientPlugin<SimpleClanToken>
@Override
public String getQuery(int accountId, String uuid, String name)
{
return "SELECT clans.name, accountClan.clanRole, clanServer.serverName, clans.id FROM accountClan INNER JOIN clans ON clans.id = accountClan.clanId INNER JOIN clanServer ON clans.serverId = clanServer.id WHERE accountClan.accountId = " + accountId + "?;";
return "SELECT clans.name, accountClan.clanRole, clanServer.serverName, clans.id FROM accountClan INNER JOIN clans ON clans.id = accountClan.clanId INNER JOIN clanServer ON clans.serverId = clanServer.id WHERE accountClan.accountId = " + accountId + ";";
}
@Override