+ // check that there are indeed changes, otherwise don't bother
+ std::vector<TopScore> scores;
+ conn.perform(FetchTopScoresForTournament(tournament, 10, &scores));
+
+ for (std::vector<TopScore>::const_iterator i = scores.begin(); i != scores.end(); ++i) {
+ if (seen_topscore.count(*i) == 0) {
+ return true;
+ }
+ }
+
+ return false;