Ticket #2415: eitscanner-minchannum.diff

File eitscanner-minchannum.diff, 622 bytes (added by mythtv@…, 15 years ago)
  • libs/libmythtv/eitscanner.cpp

     
    224224        // TODO get input name and use it in crawl.
    225225        MSqlQuery query(MSqlQuery::InitCon());
    226226        query.prepare(
    227             "SELECT min(channum) "
     227            "SELECT min(channum+0) "
    228228            "FROM channel, cardinput, capturecard, videosource "
    229229            "WHERE cardinput.sourceid   = channel.sourceid AND "
    230230            "      videosource.sourceid = channel.sourceid AND "