Ticket #3681: 3681_patch.patch

File 3681_patch.patch, 600 bytes (added by Jeff <jeff@…>, 12 years ago)

a patch

  • libs/libmythtv/programdata.cpp

     
    146146
    147147    query.prepare("DELETE FROM record WHERE (type = :SINGLE "
    148148                  "OR type = :OVERRIDE OR type = :DONTRECORD) "
    149                   "AND enddate < NOW();");
     149                  "AND enddate < CURDATE();");
    150150    query.bindValue(":SINGLE", kSingleRecord);
    151151    query.bindValue(":OVERRIDE", kOverrideRecord);
    152152    query.bindValue(":DONTRECORD", kDontRecord);