summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2014-12-30 20:06:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:37 +0100
commitf68364e28e2de5765db67735e925fd4c32ed10e5 (patch)
tree27b08320577617fe593a8a04e78a47bfbf56773e
parentBig commit comprising mostly of changes to the DB structure to unify recorded... (diff)
downloadp2pvr-f68364e28e2de5765db67735e925fd4c32ed10e5.tar.bz2
p2pvr-f68364e28e2de5765db67735e925fd4c32ed10e5.tar.xz
p2pvr-f68364e28e2de5765db67735e925fd4c32ed10e5.zip
Fix case of SQL
-rw-r--r--p2pvr/daemon/schedules.cpp4
-rw-r--r--p2pvr/daemon/sql/Schedules_getCandidates.sql (renamed from p2pvr/daemon/sql/Schedules_GetCandidates.sql)0
2 files changed, 2 insertions, 2 deletions
diff --git a/p2pvr/daemon/schedules.cpp b/p2pvr/daemon/schedules.cpp
index b97924d..abb3b46 100644
--- a/p2pvr/daemon/schedules.cpp
+++ b/p2pvr/daemon/schedules.cpp
@@ -12,7 +12,7 @@
#include <boost/date_time/posix_time/posix_time.hpp>
#include <instanceStore.impl.h>
-ResourceString(Schedules_GetCandidates, sql_Schedules_GetCandidates);
+ResourceString(Schedules_getCandidates, sql_Schedules_getCandidates);
ResourceString(Schedules_insert, sql_Schedules_insert);
ResourceString(Schedules_insertNewId, sql_Schedules_insertNewId);
ResourceString(Schedules_update, sql_Schedules_update);
@@ -318,7 +318,7 @@ Schedules::DoReschedule(const Ice::Current & ice)
// Load list from database
ScheduleCandidates episodes;
SqlContainerCreator<ScheduleCandidates, ScheduleCandidate, ScheduleCandidatePtr> cct(episodes);
- cct.populate(Select(Schedules_GetCandidates).second);
+ cct.populate(Select(Schedules_getCandidates).second);
Episodes scheduleList;
Showings allShowings;
diff --git a/p2pvr/daemon/sql/Schedules_GetCandidates.sql b/p2pvr/daemon/sql/Schedules_getCandidates.sql
index 0bb7bd8..0bb7bd8 100644
--- a/p2pvr/daemon/sql/Schedules_GetCandidates.sql
+++ b/p2pvr/daemon/sql/Schedules_getCandidates.sql