[mythtv-commits] Ticket #13212: mythbackend.log scheduler DB error
MythTV
noreply at mythtv.org
Mon Jan 29 16:30:24 UTC 2018
#13212: mythbackend.log scheduler DB error
----------------------------------+------------------------------
Reporter: grandmastermarclar@… | Owner: gigem
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: needs_triage
Component: MythTV - Scheduling | Version: v29-fixes
Severity: low | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Changes (by gigem):
* status: new => assigned
Comment:
I'm not seeing the syntax error in that query. Can you please run
"describe channel" to make sure your channel table has the sourceid
column. If that doesn't reveal the problem, can you please do the
following. In Scheduler::UpdateMatches(), comment out the following
sections successively, i.e. comment out sourceid section, then the mplexid
section and finally the maxstarttime section.
if (sourceid)
{
deleteClause += " AND channel.sourceid = :SOURCEID";
filterClause += " AND channel.sourceid = :SOURCEID";
bindings[":SOURCEID"] = sourceid;
}
if (mplexid)
{
deleteClause += " AND channel.mplexid = :MPLEXID";
filterClause += " AND channel.mplexid = :MPLEXID";
bindings[":MPLEXID"] = mplexid;
}
if (maxstarttime.isValid())
{
deleteClause += " AND recordmatch.starttime <= :MAXSTARTTIME";
filterClause += " AND program.starttime <= :MAXSTARTTIME";
bindings[":MAXSTARTTIME"] = maxstarttime;
}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13212#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list