]> git.sesse.net Git - ccbs/blobdiff - bigscreen/fetch_max_score_for_player.h
Read max score for all players in one shot as well, with a new query and an index...
[ccbs] / bigscreen / fetch_max_score_for_player.h
diff --git a/bigscreen/fetch_max_score_for_player.h b/bigscreen/fetch_max_score_for_player.h
deleted file mode 100644 (file)
index 36122b4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _FETCH_MAX_SCORE_FOR_PLAYER_H
-#define _FETCH_MAX_SCORE_FOR_PLAYER_H 1
-
-#include <pqxx/transactor>
-
-/* A transactor that fetches the maximum score for a song */
-class FetchMaxScoreForPlayer : public pqxx::transactor<> {
-private:
-       unsigned tournament, player, round, *score;
-
-public:
-       FetchMaxScoreForPlayer(unsigned tournament, unsigned player, unsigned round, unsigned *score);
-       void operator() (pqxx::transaction<> &t);
-};
-
-#endif /* !defined(_FETCH_MAX_SCORE_FOR_PLAYER_H) */