From 38e51dd0015c78b55bfcb112496b4d9e7d58ee54 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 11 Jun 2005 22:55:39 +0000 Subject: [PATCH 1/1] Fixed a syntax error in the calling of a stored procedure. --- bigscreen/fetch_max_score_for_songs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigscreen/fetch_max_score_for_songs.cpp b/bigscreen/fetch_max_score_for_songs.cpp index c493a67..990d1e8 100644 --- a/bigscreen/fetch_max_score_for_songs.cpp +++ b/bigscreen/fetch_max_score_for_songs.cpp @@ -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) { -- 2.39.2