From: Steinar H. Gunderson Date: Sat, 11 Jun 2005 22:55:39 +0000 (+0000) Subject: Fixed a syntax error in the calling of a stored procedure. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=38e51dd0015c78b55bfcb112496b4d9e7d58ee54 Fixed a syntax error in the calling of a stored procedure. --- 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) {