Fixed a syntax error in the calling of a stored procedure.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 11 Jun 2005 22:55:39 +0000 (22:55 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 11 Jun 2005 22:55:39 +0000 (22:55 +0000)
bigscreen/fetch_max_score_for_songs.cpp

index c493a67b134632077bb752de0c5ea0e4ed1e554e..990d1e8cad9caa94bdea9009fe7706f46b735e3e 100644 (file)
@@ -7,7 +7,7 @@ void FetchMaxScoreForSongs::operator() (pqxx::transaction<> &t)
 {
        score->erase(score->begin(), score->end());
        
-       pqxx::result res( t.exec("SELECT get_max_score_for_songs("
+       pqxx::result res( t.exec("SELECT * FROM get_max_score_for_songs("
                + pqxx::to_string(tournament) + ", 'single')") );
 
        for (pqxx::result::const_iterator i = res.begin(); i != res.end(); ++i) {