Ticket #6188: multiple_backends.patch

File multiple_backends.patch, 800 bytes (added by mythtv-users2@…, 11 years ago)
  • myth.find_orphans.pl

     
    137137# look in recorded table, make sure we can find every file ..
    138138#
    139139
    140 my $q = "SELECT title, subtitle, description, starttime, endtime, chanid, basename FROM recorded WHERE hostname=(?) ORDER BY starttime";
     140my $q = "SELECT title, subtitle, description, starttime, endtime, chanid, basename FROM recorded ORDER BY starttime";
    141141$sth = $dbh->prepare($q);
    142 $sth->execute($opt_host) || die "Could not execute ($q): $!\n";
     142$sth->execute() || die "Could not execute ($q): $!\n";
    143143
    144144while (my @row=$sth->fetchrow_array) {
    145145        ($title, $subtitle, $description ,$starttime, $endtime, $channel, $basename) = @row;