Ticket #3725: recordedprograms-db-fix.patch

File recordedprograms-db-fix.patch, 1.5 KB (added by torbjorn.jansson@…, 13 years ago)

the patch

  • libs/libmythtv/programinfo.cpp

     
    15711571        MythContext::DBError("Copy program credits on record", query);
    15721572
    15731573    query.prepare("REPLACE INTO recordedprogram"
    1574                  " SELECT * from program"
     1574                 "(chanid, starttime, endtime, title, subtitle, description,"
     1575                 " category, category_type, airdate, stars, previouslyshown,"
     1576                 " title_pronounce, stereo, subtitled, hdtv, closecaptioned,"
     1577                 " partnumber, parttotal, seriesid, originalairdate, showtype,"
     1578                 " colorcode, syndicatedepisodenumber, programid, manualid,"
     1579                 " generic, listingsource, first, last)"
     1580                 " SELECT chanid, starttime, endtime, title, subtitle,"
     1581                 "  description, category, category_type, airdate, stars,"
     1582                 "  previouslyshown, title_pronounce, stereo, subtitled,"
     1583                 "  hdtv, closecaptioned, partnumber, parttotal, seriesid,"
     1584                 "  originalairdate, showtype, colorcode,"
     1585                 "  syndicatedepisodenumber, programid, manualid, generic,"
     1586                 "  listingsource, first, last"
     1587                 " FROM program"
    15751588                 " WHERE chanid = :CHANID AND starttime = :START"
    15761589                 " AND title = :TITLE;");
    15771590    query.bindValue(":CHANID", chanid);