Opened 19 years ago

Closed 19 years ago

#219 closed patch (fixed)

Verbose error in autoexpire.cpp

Reported by: pc-mythsvn-report1@… Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version:
Severity: low Keywords:
Cc: Ticket locked: no

Description

From the -dev list:

I've been looking at the verbose output of the logging, and I see a bunch of messages like:

2005-08-14 13:37:51.752 Found -1 episodes in recording profile 78 using max expiration 2005-08-14 13:37:51.756 Found -1 episodes in recording profile 850 using max expiration

I tracked this message down to programs/mythbackend/autoexpire.cpp in AutoExpire::ExpireEpisodesOverMax?(). The VERBOSE() output at line 422 is before the query.exec() call. I believe that the correct code would be to move the VERBOSE() inside the if statement, and probably add an else() statement with another VERBOSE().

Attachments (1)

auto-exp-verbose.patch (2.8 KB) - added by pc-mythsvn-report1@… 19 years ago.
Patch, affects extra lines due to indention change

Download all attachments as: .zip

Change History (2)

Changed 19 years ago by pc-mythsvn-report1@…

Attachment: auto-exp-verbose.patch added

Patch, affects extra lines due to indention change

comment:1 Changed 19 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7029]) Closes #219.

Better error reporting when there is a problem with the database.

Note: See TracTickets for help on using tickets.