BBLogging.debug(sql);
ps = conn.prepareStatement(sql);
rs=ps.executeQuery();
while(rs.next()){
BBPlayerInfo pi = new BBPlayerInfo(rs.getInt("id"), rs.getString("name"), rs.getInt("flags"));
this.knownPlayers.put(pi.getID(), pi);
this.knownNames.put(pi.getName(),pi.getID());
}
} catch (SQLException e) {
BBLogging.severe("Error trying to load the user/name cache.", e);
} finally {
ConnectionManager.cleanup( "BBUsersMySQL.getUserFromDB(string)",conn, ps, rs );