Ticket #4563: myth-scheduler-recordid-sql.patch

File myth-scheduler-recordid-sql.patch, 606 bytes (added by taco_mel@…, 13 years ago)

Patch to mythbackend/scheduler.cpp

  • scheduler.cpp

    old new  
    23532353        QString query = QString(
    23542354"INSERT INTO recordmatch (recordid, chanid, starttime, manualid) "
    23552355"SELECT RECTABLE.recordid, program.chanid, program.starttime, "
    2356 " IF(search = %1, recordid, 0) ").arg(kManualSearch) + QString(
     2356" IF(search = %1, RECTABLE.recordid, 0) ").arg(kManualSearch) + QString(
    23572357"FROM (RECTABLE, program INNER JOIN channel "
    23582358"      ON channel.chanid = program.chanid) ") + fromclauses[clause] + QString(
    23592359" WHERE ") + whereclauses[clause] +