Ticket #2237: query-where.diff

File query-where.diff, 523 bytes (added by otto at kolsi dot fi, 14 years ago)
  • programs/mythbackend/httpstatus.cpp

     
    14321432    QDateTime GuideDataThrough;
    14331433
    14341434    MSqlQuery query(MSqlQuery::InitCon());
    1435     query.prepare("SELECT max(endtime) FROM program;");
     1435    query.prepare("SELECT max(endtime) FROM program WHERE manualid=0;");
    14361436
    14371437    if (query.exec() && query.isActive() && query.size())
    14381438    {