[mythtv-commits] Ticket #12134: Programrating update/insertdb insert ignore instead of insert
MythTV
noreply at mythtv.org
Sat May 27 16:28:30 UTC 2017
#12134: Programrating update/insertdb insert ignore instead of insert
----------------------------------+-----------------------------
Reporter: slackerlinux85@… | Owner: stuartm
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 0.28.2
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by Gary Buhrmaster <gary.buhrmaster@…>):
Replying to [comment:4 benjamin.close@…]:
> I suspect instead of using the ignore, the insert into, should become a
REPLACE INTO incase the rating data has actually changed.
Actually, given that the key is the entire sequence (chanid, starttime,
system, and rating), which preserves different ratings, the problem only
exists for duplicated source data (which is usually bad source data).
In any case, I believe this ticket should likely be closed as a dup by
someone appropriately empowered to close tickets, as it appears to have
been fixed in #12914 which also contained some background discussion (and
embarrassingly did not identify this ticket as being related/original).
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12134#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list